fixup SQL code
darcs-hash:20080915073412-84dde-3c9cfb1d2d4933dbaff002b30fffb9e7d3d5e1d7.gz
This commit is contained in:
parent
a6974a6f84
commit
1a81057985
@ -121,7 +121,7 @@ class Notice extends DB_DataObject
|
||||
$user = new User();
|
||||
|
||||
$user->query('SELECT id ' .
|
||||
'FROM user JOIN subscription ON user.id = subscription.subscriber' .
|
||||
'FROM user JOIN subscription ON user.id = subscription.subscriber ' .
|
||||
'WHERE subscription.subscribed = ' . $notice->profile_id);
|
||||
|
||||
while ($user->fetch()) {
|
||||
|
Loading…
Reference in New Issue
Block a user