summaryrefslogtreecommitdiff
path: root/classes/Fave.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Fave.php')
-rw-r--r--classes/Fave.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Fave.php b/classes/Fave.php
index 4b28d06b4..11e876ff1 100644
--- a/classes/Fave.php
+++ b/classes/Fave.php
@@ -59,7 +59,7 @@ class Fave extends Memcached_DataObject
$qry = 'SELECT fave.* FROM fave ';
$qry .= 'INNER JOIN notice ON fave.notice_id = notice.id ';
$qry .= 'WHERE fave.user_id = ' . $user_id . ' ';
- $qry .= 'AND notice.is_local != ' . NOTICE_GATEWAY . ' ';
+ $qry .= 'AND notice.is_local != ' . Notice::GATEWAY . ' ';
}
if ($since_id != 0) {