+ Changed from MySQL to MySQLi native driver.
+ Added 2 new functions in DataBase class: fetch($query) and num_rows($query) git-svn-id: https://svn.pioder.pl/uf-svn/uF@20 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -34,7 +34,7 @@ function AddSkins()
|
||||
global $forum_config;
|
||||
$all='';
|
||||
$query = DataBase::sql_query("SELECT `name`, `s_id` FROM `".SKINS_TABLE."`",'GENERAL','Could not obtain skins information');
|
||||
while($t = @mysql_fetch_array($query))
|
||||
while($t = DataBase::fetch($query))
|
||||
{
|
||||
|
||||
if ($t['s_id']==$forum_config['defaultskin'])
|
||||
|
||||
Reference in New Issue
Block a user