1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 23:41:29 +02:00

ok, a slightly modified posting.php, some fixes too. topic-review and polls will re-appear shortly. Posting is a little bit screwed up now... will get fixed soon too. posting new topics/reply/quote/preview and edit works partially (the post get stored. ;)) This commit is to show the other developers the changes. ;)

git-svn-id: file:///svn/phpbb/trunk@3572 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-02-27 23:37:02 +00:00
parent d4884b0c02
commit a2889a6c5f
11 changed files with 1016 additions and 1009 deletions

View File

@@ -622,10 +622,16 @@ else
$sql_query = split_sql_file($sql_query, $delimiter);
$sql_count = count($sql_query);
// NOTE: trigger_error does not work here.
$db->return_on_error = true;
for($i = 0; $i < $sql_count; $i++)
{
$db->sql_query($sql_query[$i]);
if (!$db->sql_query($sql_query[$i]))
{
$error = $db->sql_error($sql_query[$i]);
echo "<br />ERROR: " . $error['message'] . "<br />";
}
}
//