upgrade.php
changeset 88 9e303b7e95c2
parent 74 68469a95658d
child 91 8079b0288e8e
equal deleted inserted replaced
87:570f68c3fe36 88:9e303b7e95c2
   371 }
   371 }
   372 
   372 
   373 function u_1_0_RC3_make_users_extra()
   373 function u_1_0_RC3_make_users_extra()
   374 {
   374 {
   375   global $db;
   375   global $db;
   376   $q = $db->sql_query('SELECT user_id FROM users WHERE user_id > 1;');
   376   $q = $db->sql_query('SELECT user_id FROM '.table_prefix.'users WHERE user_id > 1;');
   377   if ( !$q )
   377   if ( !$q )
   378     $db->_die();
   378     $db->_die();
   379   
   379   
   380   $ids = array();
   380   $ids = array();
   381   while ( $row = $db->fetchrow() )
   381   while ( $row = $db->fetchrow() )