mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/10561] Changes made to $db->sql_fetchrow().
Changed $db->sql_fetchrow() to $db->sql_fetchfield(). PHPBB3-10561
This commit is contained in:
@@ -1252,10 +1252,10 @@ function phpbb_style_is_active($style_id)
|
|||||||
WHERE style_id = ". (int) $style_id;
|
WHERE style_id = ". (int) $style_id;
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$style_verified = $db->sql_fetchrow($result);
|
$style_verified = (bool) $db->sql_fetchfield('style_active');;
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
return (bool) $style_verified['style_active'];
|
return $style_verified;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user