From a84b97f58e8177eb28ad41cfb261200d523c9ff5 Mon Sep 17 00:00:00 2001 From: Hari Sankar R Date: Tue, 3 Apr 2012 23:15:16 +0530 Subject: [PATCH] [ticket/10561] Fixed syntax error and renamed return variables. Renamed $style_verified to $style_is_active and fixed extra ';'. PHPBB3-10561 --- phpBB/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index a6ddcdd0a3..70a961a744 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 = (bool) $db->sql_fetchfield('style_active');; + $style_is_active = (bool) $db->sql_fetchfield('style_active'); $db->sql_freeresult($result); - return $style_verified; + return $style_is_active; } /**