diff options
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/tools.php | 2 |
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; } /** |