]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup SQL code
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:34:12 +0000 (03:34 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:34:12 +0000 (03:34 -0400)
darcs-hash:20080915073412-84dde-3c9cfb1d2d4933dbaff002b30fffb9e7d3d5e1d7.gz

classes/Notice.php

index 183d6108e2a184cefa8047f5de573773250d80ff..7c758061515f9d2a7a959c31dce73e1ddb548658 100644 (file)
@@ -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()) {