aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3881299648..a6ddcdd0a3 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1252,10 +1252,10 @@ function phpbb_style_is_active($style_id)
WHERE style_id = ". (int) $style_id;
$result = $db->sql_query($sql);
- $style_verified = $db->sql_fetchrow($result);
+ $style_verified = (bool) $db->sql_fetchfield('style_active');;
$db->sql_freeresult($result);
- return (bool) $style_verified['style_active'];
+ return $style_verified;
}
/**