diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-08-21 17:11:47 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-08-21 17:11:47 +0200 |
| commit | 6a35b4262cccf97f932efbfe3cd9f546ead1be52 (patch) | |
| tree | a24c5af716dc79e4fdad4c5983bbb8e3be08efaf /lib/notestorage.php | |
| parent | 92938f0e591286b67a752af441e55626155af524 (diff) | |
| download | grauphel-6a35b4262cccf97f932efbfe3cd9f546ead1be52.tar.gz grauphel-6a35b4262cccf97f932efbfe3cd9f546ead1be52.zip | |
fix re-sync with tomboy
Diffstat (limited to 'lib/notestorage.php')
| -rw-r--r-- | lib/notestorage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/notestorage.php b/lib/notestorage.php index 77c8fc6..63e1516 100644 --- a/lib/notestorage.php +++ b/lib/notestorage.php @@ -351,11 +351,11 @@ class NoteStorage 'note-content' => $row['note_content'], 'note-content-version' => $row['note_content_version'], - 'open-on-startup' => $row['note_open_on_startup'], - 'pinned' => $row['note_pinned'], + 'open-on-startup' => (bool) $row['note_open_on_startup'], + 'pinned' => (bool) $row['note_pinned'], 'tags' => json_decode($row['note_tags']), - 'last-sync-revision' => $row['note_last_sync_revision'], + 'last-sync-revision' => (int) $row['note_last_sync_revision'], ); } |
