aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorHari Sankar R <hsr@theinglorio.us>2012-04-03 23:15:16 +0530
committerHari Sankar R <hsr@theinglorio.us>2012-04-03 23:15:16 +0530
commita84b97f58e8177eb28ad41cfb261200d523c9ff5 (patch)
tree879626d2bcfb5357d89820cb6042231dd596ea46 /phpBB/includes/functions.php
parentc5481371b9e4dc6f30f7a9bce1beba21530f9977 (diff)
downloadforums-a84b97f58e8177eb28ad41cfb261200d523c9ff5.tar
forums-a84b97f58e8177eb28ad41cfb261200d523c9ff5.tar.gz
forums-a84b97f58e8177eb28ad41cfb261200d523c9ff5.tar.bz2
forums-a84b97f58e8177eb28ad41cfb261200d523c9ff5.tar.xz
forums-a84b97f58e8177eb28ad41cfb261200d523c9ff5.zip
[ticket/10561] Fixed syntax error and renamed return variables.
Renamed $style_verified to $style_is_active and fixed extra ';'. PHPBB3-10561
Diffstat (limited to 'phpBB/includes/functions.php')
-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 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;
}
/**