forked from GNUsocial/gnu-social
Fix for search regression introduced by rename of NOTICE_GATEWAY to Notice::Gateway in commit 5f7fb99447
This commit is contained in:
parent
b0bb1fff2e
commit
aedcb0199b
@ -120,7 +120,7 @@ class MySQLSearch extends SearchEngine
|
|||||||
} else if ('identica_notices' === $this->table) {
|
} else if ('identica_notices' === $this->table) {
|
||||||
|
|
||||||
// Don't show imported notices
|
// 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) {
|
if (strtolower($q) != $q) {
|
||||||
$this->target->whereAdd("( MATCH(content) AGAINST ('" . addslashes($q) .
|
$this->target->whereAdd("( MATCH(content) AGAINST ('" . addslashes($q) .
|
||||||
|
Loading…
Reference in New Issue
Block a user