summaryrefslogtreecommitdiff
path: root/classes/Forward.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-08 21:18:49 -0500
committerEvan Prodromou <evan@status.net>2009-12-08 21:18:49 -0500
commitfcce5a064a47a8c2bb3d1bb3dbe90d72d277e1a0 (patch)
treecb469c720f861812b1fc8d4b3584c2f93a9be50b /classes/Forward.php
parent45408142e9d7431dd4a664262d4806c655cc5c68 (diff)
parent2f59f0ddb5cc6030671af7e751e0ae85e4751497 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/Forward.php')
-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();