From aedcb0199ba819b921e1dada2bc45c40792aebbf Mon Sep 17 00:00:00 2001 From: brion Date: Sun, 16 Aug 2009 11:41:00 -0700 Subject: [PATCH] Fix for search regression introduced by rename of NOTICE_GATEWAY to Notice::Gateway in commit 5f7fb994471e4326f6aea5e29157a6236de4001f --- lib/search_engines.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search_engines.php b/lib/search_engines.php index 772f41883b..7c26363fc5 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) . -- 2.39.5