fixup SQL code

darcs-hash:20080915073412-84dde-3c9cfb1d2d4933dbaff002b30fffb9e7d3d5e1d7.gz
This commit is contained in:
Evan Prodromou 2008-09-15 03:34:12 -04:00
parent a6974a6f84
commit 1a81057985

View File

@ -121,7 +121,7 @@ class Notice extends DB_DataObject
$user = new User(); $user = new User();
$user->query('SELECT id ' . $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); 'WHERE subscription.subscribed = ' . $notice->profile_id);
while ($user->fetch()) { while ($user->fetch()) {