summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrion <brion@pobox.com>2009-08-16 11:41:00 -0700
committerbrion <brion@pobox.com>2009-08-16 11:41:00 -0700
commitaedcb0199ba819b921e1dada2bc45c40792aebbf (patch)
treefe74cf1f5efde0b8dca19417125149f43bbf7968
parentb0bb1fff2e79a01b2fa2eece79d2c644860bbb97 (diff)
Fix for search regression introduced by rename of NOTICE_GATEWAY to Notice::Gateway in commit 5f7fb994471e4326f6aea5e29157a6236de4001f
-rw-r--r--lib/search_engines.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search_engines.php b/lib/search_engines.php
index 772f41883..7c26363fc 100644
--- a/lib/search_engines.php
+++ b/lib/search_engines.php
@@ -120,7 +120,7 @@ class MySQLSearch extends SearchEngine
} else if ('identica_notices' === $this->table) {
// Don't show imported notices
- $this->target->whereAdd('notice.is_local != ' . NOTICE_GATEWAY);
+ $this->target->whereAdd('notice.is_local != ' . Notice::GATEWAY);
if (strtolower($q) != $q) {
$this->target->whereAdd("( MATCH(content) AGAINST ('" . addslashes($q) .