Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ticket/10561] Fixed syntax error and renamed return variables.

Renamed $style_verified to $style_is_active and fixed extra ';'.

PHPBB3-10561
  • Loading branch information...
commit a84b97f58e8177eb28ad41cfb261200d523c9ff5 1 parent c548137
Hari Sankar R authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 phpBB/includes/functions.php
View
4 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;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.