mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- some stupid bugs in restore - centralized the method of getting tables git-svn-id: file:///svn/phpbb/trunk@7015 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1374,7 +1374,7 @@ function get_path($src_path, $src_url, $test_file)
|
||||
|
||||
function compare_table($tables, $tablename, &$prefixes)
|
||||
{
|
||||
for ($i = 0; $i < sizeof($tables); ++$i)
|
||||
for ($i = 0, $table_size = sizeof($tables); $i < $table_size; ++$i)
|
||||
{
|
||||
if (preg_match('/(.*)' . $tables[$i] . '$/', $tablename, $m))
|
||||
{
|
||||
|
Reference in New Issue
Block a user