X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/15bb045c5a40d18ab5c9aec583f1720871ade28e..8a5220b3dbb8ad2272af0f2a0ea504db98ebc33e:/lib/notestorage.php diff --git a/lib/notestorage.php b/lib/notestorage.php index 275374c..b430331 100644 --- a/lib/notestorage.php +++ b/lib/notestorage.php @@ -298,8 +298,8 @@ class NoteStorage $keywordGroups['NOT'] = array(); } - $sqlTplAnd = ' AND (note_title ILIKE ? OR note_tags ILIKE ? OR note_content ILIKE ?)'; - $sqlTplNot = ' AND NOT (note_title ILIKE ? OR note_tags ILIKE ? OR note_content ILIKE ?)'; + $sqlTplAnd = ' AND (`note_title` ILIKE ? OR `note_tags` ILIKE ? OR `note_content` ILIKE ?)'; + $sqlTplNot = ' AND NOT (`note_title` ILIKE ? OR `note_tags` ILIKE ? OR `note_content` ILIKE ?)'; $arData = array( $this->username ); @@ -546,4 +546,4 @@ class NoteStorage ); } } -?> \ No newline at end of file +?>