]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for search regression introduced by rename of NOTICE_GATEWAY to Notice::Gateway...
authorbrion <brion@pobox.com>
Sun, 16 Aug 2009 18:41:00 +0000 (11:41 -0700)
committerbrion <brion@pobox.com>
Sun, 16 Aug 2009 18:41:00 +0000 (11:41 -0700)
lib/search_engines.php

index 772f41883b9dde17f5b5e59f39c276628fe189ad..7c26363fc5e385a79ed6d9272ee39370ad58d91b 100644 (file)
@@ -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) .