Fixed missing table_prefix in u_1_0_RC3_make_users_extra() in upgrade.php
authorDan
Sun, 12 Aug 2007 13:14:26 -0400
changeset 88 9e303b7e95c2
parent 87 570f68c3fe36
child 89 fea81844b9a5
Fixed missing table_prefix in u_1_0_RC3_make_users_extra() in upgrade.php
upgrade.php
--- a/upgrade.php	Sun Aug 12 13:11:16 2007 -0400
+++ b/upgrade.php	Sun Aug 12 13:14:26 2007 -0400
@@ -373,7 +373,7 @@
 function u_1_0_RC3_make_users_extra()
 {
   global $db;
-  $q = $db->sql_query('SELECT user_id FROM users WHERE user_id > 1;');
+  $q = $db->sql_query('SELECT user_id FROM '.table_prefix.'users WHERE user_id > 1;');
   if ( !$q )
     $db->_die();