diff options
| author | David M <davidmj@users.sourceforge.net> | 2007-02-19 19:35:52 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2007-02-19 19:35:52 +0000 |
| commit | 59fdd2edca9455126c6ce606ba2819aa6450dfda (patch) | |
| tree | 594260670a88be3ea7b580534280aaf211c029c8 /phpBB/includes/functions_convert.php | |
| parent | bf8bea4967c50ba61c6bd897d3611fccdac24bee (diff) | |
| download | forums-59fdd2edca9455126c6ce606ba2819aa6450dfda.tar forums-59fdd2edca9455126c6ce606ba2819aa6450dfda.tar.gz forums-59fdd2edca9455126c6ce606ba2819aa6450dfda.tar.bz2 forums-59fdd2edca9455126c6ce606ba2819aa6450dfda.tar.xz forums-59fdd2edca9455126c6ce606ba2819aa6450dfda.zip | |
#8234
- some stupid bugs in restore
- centralized the method of getting tables
git-svn-id: file:///svn/phpbb/trunk@7015 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
| -rw-r--r-- | phpBB/includes/functions_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index e8c57a4db6..914311c2b8 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -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)) { |
