aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHari Sankar R <hsr@theinglorio.us>2012-04-09 01:04:17 +0530
committerHari Sankar R <hsr@theinglorio.us>2012-04-09 01:04:17 +0530
commit8442b19e59e3d07129c3ef5286ada84a3ac64b98 (patch)
tree46f6cc1f6e55e796abbfe2caa93560db392a5f26
parent9bce716081f55f209afbfb3ecf1a097b47292da4 (diff)
downloadforums-8442b19e59e3d07129c3ef5286ada84a3ac64b98.tar
forums-8442b19e59e3d07129c3ef5286ada84a3ac64b98.tar.gz
forums-8442b19e59e3d07129c3ef5286ada84a3ac64b98.tar.bz2
forums-8442b19e59e3d07129c3ef5286ada84a3ac64b98.tar.xz
forums-8442b19e59e3d07129c3ef5286ada84a3ac64b98.zip
[ticket/10561] Changed $temp_style_id to $style_id
PHPBB3-10561
-rw-r--r--phpBB/install/database_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 576b3c0ba8..ba89a07e92 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2036,9 +2036,9 @@ function change_database_data(&$no_updates, $version)
$result = $db->sql_query($sql);
$deactivated_style_ids = array();
- while ($temp_style_id = $db->sql_fetchfield('style_id', false, $result))
+ while ($style_id = $db->sql_fetchfield('style_id', false, $result))
{
- $deactivated_style_ids[] = (int) $temp_style_id;
+ $deactivated_style_ids[] = (int) $style_id;
}
$db->sql_freeresult($result);