aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/notestorage.php6
1 files changed, 3 insertions, 3 deletions
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
+?>