aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-04-19 03:51:17 +0200
committerNils Adermann <naderman@naderman.de>2012-04-19 03:51:38 +0200
commit439ade4ee2f2fcd301ad3690624a821a779c95ee (patch)
tree7b011d9113c2ec1761bdae1dffa368d888ae0e41 /phpBB/install
parent18704215216cf31e8d96058d2df7ef7cf20a3f7b (diff)
downloadforums-439ade4ee2f2fcd301ad3690624a821a779c95ee.tar
forums-439ade4ee2f2fcd301ad3690624a821a779c95ee.tar.gz
forums-439ade4ee2f2fcd301ad3690624a821a779c95ee.tar.bz2
forums-439ade4ee2f2fcd301ad3690624a821a779c95ee.tar.xz
forums-439ade4ee2f2fcd301ad3690624a821a779c95ee.zip
[ticket/10759] Make sure style ids are integers
PHPBB3-10759
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 88ebb8209e..a0892005d2 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2468,7 +2468,7 @@ function change_database_data(&$no_updates, $version)
'style_parent_tree' => '',
);
_sql('UPDATE ' . STYLES_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . ' WHERE style_id = ' . $style_row['style_id'], $errored, $error_ary);
- $valid_styles[] = $style_row['style_id'];
+ $valid_styles[] = (int) $style_row['style_id'];
}
}