aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-09-26 13:50:08 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-09-26 13:50:08 +0000
commit857670f522d4e710d6440bb5e709c400485abb0c (patch)
tree8304577b278454d301940790f22451b196a0e60c /phpBB/includes/functions_admin.php
parent310edb4eb82ed7678f1de1270c4156bb167f89db (diff)
downloadforums-857670f522d4e710d6440bb5e709c400485abb0c.tar
forums-857670f522d4e710d6440bb5e709c400485abb0c.tar.gz
forums-857670f522d4e710d6440bb5e709c400485abb0c.tar.bz2
forums-857670f522d4e710d6440bb5e709c400485abb0c.tar.xz
forums-857670f522d4e710d6440bb5e709c400485abb0c.zip
now it's clear why install isn't working. ;)
git-svn-id: file:///svn/phpbb/trunk@4988 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
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.