From: Evan Prodromou Date: Mon, 15 Sep 2008 07:34:12 +0000 (-0400) Subject: fixup SQL code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a81057985001fb1cb9a1ad996021f7c7f64c734;p=quix0rs-gnu-social.git fixup SQL code darcs-hash:20080915073412-84dde-3c9cfb1d2d4933dbaff002b30fffb9e7d3d5e1d7.gz --- diff --git a/classes/Notice.php b/classes/Notice.php index 183d6108e2..7c75806151 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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()) {