git.cweiske.de
/
grauphel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
92938f0
)
fix re-sync with tomboy
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 21 Aug 2014 15:11:47 +0000
(17:11 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 21 Aug 2014 15:11:47 +0000
(17:11 +0200)
lib/notestorage.php
patch
|
blob
|
history
diff --git
a/lib/notestorage.php
b/lib/notestorage.php
index 77c8fc692a74fd47f33ab86e84c9fc0f89991f9c..63e1516f896c9a72af8d096adb06b66986c9895d 100644
(file)
--- 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'],
'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']),
'tags' => json_decode($row['note_tags']),
- 'last-sync-revision' => $row['note_last_sync_revision'],
+ 'last-sync-revision' =>
(int)
$row['note_last_sync_revision'],
);
}
);
}