From 857670f522d4e710d6440bb5e709c400485abb0c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 26 Sep 2004 13:50:08 +0000 Subject: [PATCH] now it's clear why install isn't working. ;) git-svn-id: file:///svn/phpbb/trunk@4988 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 2ffda2ac72..3c46469d4a 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1481,7 +1481,7 @@ function remove_comments(&$output) // remove_remarks will strip the sql comment lines out of an uploaded sql file function remove_remarks(&$sql) { - preg_replace('/(\n){2,}/', "\n", preg_replace('/^#.*/m', "\n", $sql)); + $sql = preg_replace('/(\n){2,}/', "\n", preg_replace('/^#.*/m', "\n", $sql)); } // split_sql_file will split an uploaded sql file into single sql statements.