diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-05-22 23:27:44 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-05-22 23:28:11 +0200 |
| commit | 6a01bb7720e0b720ab40a9bca67692c44c86cf50 (patch) | |
| tree | 25bc365ea0fdc4229995ca6b8b7ae4836f40c456 /main | |
| parent | 908238bba0f53f11151f2de2f424f994aef886f7 (diff) | |
| download | cgeo-6a01bb7720e0b720ab40a9bca67692c44c86cf50.zip cgeo-6a01bb7720e0b720ab40a9bca67692c44c86cf50.tar.gz cgeo-6a01bb7720e0b720ab40a9bca67692c44c86cf50.tar.bz2 | |
fix #3897: own log not added to friend/own log page after logging
Diffstat (limited to 'main')
| -rw-r--r-- | main/src/cgeo/geocaching/LogCacheActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java index 0a9d804..5149dbc 100644 --- a/main/src/cgeo/geocaching/LogCacheActivity.java +++ b/main/src/cgeo/geocaching/LogCacheActivity.java @@ -524,6 +524,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia // update logs in DB ArrayList<LogEntry> newLogs = new ArrayList<LogEntry>(cache.getLogs()); final LogEntry logNow = new LogEntry(date.getTimeInMillis(), typeSelected, log); + logNow.friend = true; newLogs.add(0, logNow); DataStore.saveLogsWithoutTransaction(cache.getGeocode(), newLogs); |
