mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
forgot a couple things on my last checkin
git-svn-id: file:///svn/phpbb/trunk@1067 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bd8fd724df
commit
34dbc44de2
1 changed files with 2 additions and 3 deletions
|
@ -1035,15 +1035,14 @@ if( isset($HTTP_GET_VARS['perform']) || isset($HTTP_POST_VARS['perform']) )
|
||||||
message_die(GENERAL_ERROR, $lang['Restore_Error_uploading']);
|
message_die(GENERAL_ERROR, $lang['Restore_Error_uploading']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql_query = trim($sql_query);
|
|
||||||
|
|
||||||
if($sql_query != "")
|
if($sql_query != "")
|
||||||
{
|
{
|
||||||
// Strip out sql comments...
|
// Strip out sql comments...
|
||||||
$sql_query = remove_remarks($sql_query);
|
$sql_query = remove_remarks($sql_query);
|
||||||
$pieces = split_sql_file($sql_query, ";");
|
$pieces = split_sql_file($sql_query, ";");
|
||||||
|
|
||||||
for($i = 0; $i < count($pieces); $i++)
|
$sql_count = count($pieces);
|
||||||
|
for($i = 0; $i < $sql_count; $i++)
|
||||||
{
|
{
|
||||||
$sql = trim($pieces[$i]);
|
$sql = trim($pieces[$i]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue