1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/12710] Fix missing closing bracket

PHPBB3-12710
This commit is contained in:
Joas Schilling
2014-08-09 14:49:30 +02:00
parent 0806c74084
commit f87831aee5

View File

@@ -2283,7 +2283,7 @@ class tools
*/ */
protected function strip_table_name_from_index_name($table_name, $index_name) 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;
} }
/** /**