aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-08-09 14:49:30 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-08-09 15:04:49 +0200
commitf87831aee511071c96a77124cacde33fe69869f2 (patch)
tree39072f3b45f0160a1c9d975ed9133525e252eddd /phpBB/phpbb/db
parent0806c74084086d778c54ea6e87ab582deb9ecf43 (diff)
downloadforums-f87831aee511071c96a77124cacde33fe69869f2.tar
forums-f87831aee511071c96a77124cacde33fe69869f2.tar.gz
forums-f87831aee511071c96a77124cacde33fe69869f2.tar.bz2
forums-f87831aee511071c96a77124cacde33fe69869f2.tar.xz
forums-f87831aee511071c96a77124cacde33fe69869f2.zip
[ticket/12710] Fix missing closing bracket
PHPBB3-12710
Diffstat (limited to 'phpBB/phpbb/db')
-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 fccc731026..3567570137 100644
--- a/phpBB/phpbb/db/tools.php
+++ b/phpBB/phpbb/db/tools.php
@@ -2283,7 +2283,7 @@ class tools
*/
protected function strip_table_name_from_index_name($table_name, $index_name)
{
- return (strpos(strtoupper($index_name), strtoupper($table_name) === 0) ? substr($index_name, strlen($table_name) + 1) : $index_name;
+ return (strpos(strtoupper($index_name), strtoupper($table_name)) === 0) ? substr($index_name, strlen($table_name) + 1) : $index_name;
}
/**