summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Forward.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Forward.php b/classes/Forward.php
index e9b83a58b..09b2d6a4e 100644
--- a/classes/Forward.php
+++ b/classes/Forward.php
@@ -77,7 +77,8 @@ class Forward extends Memcached_DataObject
$user = new User();
- $user->query('SELECT user.* FROM user JOIN subscription ON user.id = subscription.subscriber '.
+ $usertable = common_database_tablename('user');
+ $user->query("SELECT $usertable.* FROM $usertable INNER JOIN subscription ON $usertable.id = subscription.subscriber ".
'WHERE subscription.subscribed = '.$this->profile_id);
$ni = array();