diff options
author | David M <davidmj@users.sourceforge.net> | 2006-05-28 03:44:18 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-05-28 03:44:18 +0000 |
commit | 77deaf754b2f23fae66e5d5935211baaba290ade (patch) | |
tree | 7bccd25039aabf0bc86b01bcfeeeb797850b4aed /phpBB/includes/functions_admin.php | |
parent | ce4445f74a28eaee02c8d90c1a04a759cf88a9c3 (diff) | |
download | forums-77deaf754b2f23fae66e5d5935211baaba290ade.tar forums-77deaf754b2f23fae66e5d5935211baaba290ade.tar.gz forums-77deaf754b2f23fae66e5d5935211baaba290ade.tar.bz2 forums-77deaf754b2f23fae66e5d5935211baaba290ade.tar.xz forums-77deaf754b2f23fae66e5d5935211baaba290ade.zip |
meh, old versions of MySQL are not cool...
git-svn-id: file:///svn/phpbb/trunk@5974 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 977bd3fc1a..a82ee15833 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1795,10 +1795,10 @@ function split_sql_file($sql, $delimiter) $data = preg_split('/' . $delimiter . '$/m', $sql); foreach ($data as $key => $value) { - $data[$key] = trim($value) . ';'; + $data[$key] = trim($value); } // The empty case - if (end($data) == ';') + if (empty(end($data))) { unset($data[key($data)]); } |