1
0
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:
David M
2007-02-19 19:35:52 +00:00
parent bf8bea4967
commit 59fdd2edca
4 changed files with 77 additions and 76 deletions

View File

@@ -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))
{