summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 9c64fad9f..82c53fc31 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2136,8 +2136,11 @@
if ($commandpair[1] == "true")
array_push($query_keywords, "($not (note IS NOT NULL AND note != ''))");
- else
+ else if ($commandpair[1] == "false")
array_push($query_keywords, "($not (note IS NULL OR note = ''))");
+ else
+ array_push($query_keywords, "($not (note LIKE '%".
+ db_escape_string($link, $commandpair[1])."%'))");
} else if ($commandpair[0] == "star" && $commandpair[1]) {