mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/10561] Fixed syntax error and renamed return variables.
Renamed $style_verified to $style_is_active and fixed extra ';'. PHPBB3-10561
This commit is contained in:
parent
c5481371b9
commit
a84b97f58e
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user