aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/tools.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-08-09 14:02:24 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-08-09 14:41:25 +0200
commit37a1874782629286cb3c7750b2dc1ffa8427e73c (patch)
tree813990e7204f96e8fda30122f682c727019147f5 /phpBB/phpbb/db/tools.php
parentc8e7db60ba0edbee1dffb4b0687adf702cf49e62 (diff)
downloadforums-37a1874782629286cb3c7750b2dc1ffa8427e73c.tar
forums-37a1874782629286cb3c7750b2dc1ffa8427e73c.tar.gz
forums-37a1874782629286cb3c7750b2dc1ffa8427e73c.tar.bz2
forums-37a1874782629286cb3c7750b2dc1ffa8427e73c.tar.xz
forums-37a1874782629286cb3c7750b2dc1ffa8427e73c.zip
[ticket/12710] Fix foreach generation
PHPBB3-12710
Diffstat (limited to 'phpBB/phpbb/db/tools.php')
-rw-r--r--phpBB/phpbb/db/tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php
index 000f0681cb..69c6f17416 100644
--- a/phpBB/phpbb/db/tools.php
+++ b/phpBB/phpbb/db/tools.php
@@ -2370,7 +2370,7 @@ class tools
if (!empty($indexes) || !empty($unique_indexes))
{
$drop_indexes = array_merge(array_keys($indexes), array_keys($unique_indexes));
- foreach ($drop_indexes as $index_name => $index_data)
+ foreach ($drop_indexes as $index_name)
{
$result = $this->sql_index_drop($table_name, $this->strip_table_name_from_index_name($table_name, $index_name));
$statements = array_merge($statements, $result);