diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-15 17:32:12 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-15 17:32:12 +0000 |
| commit | eecdd3049f42166975864d2c1eb359ba09c9c229 (patch) | |
| tree | 8e00f37521efd8c2a0eaf228dab6282742ef3a7e /phpBB/posting.php | |
| parent | cbafa0db4ebb54217a222c86a3083f0244c0ec3b (diff) | |
| download | forums-eecdd3049f42166975864d2c1eb359ba09c9c229.tar forums-eecdd3049f42166975864d2c1eb359ba09c9c229.tar.gz forums-eecdd3049f42166975864d2c1eb359ba09c9c229.tar.bz2 forums-eecdd3049f42166975864d2c1eb359ba09c9c229.tar.xz forums-eecdd3049f42166975864d2c1eb359ba09c9c229.zip | |
error_die changes and various bug fixes to files
git-svn-id: file:///svn/phpbb/trunk@149 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index e707faafb0..7d5043f1e0 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -48,7 +48,7 @@ else case 'newtopic': if(!isset($forum_id)) { - error_die($db, GENERAL_ERROR, "Sorry, no there is no such forum"); + error_die(GENERAL_ERROR, "Sorry, no there is no such forum"); } $pagetype = "newtopic"; @@ -56,7 +56,7 @@ else $sql = "SELECT forum_name, forum_access FROM forums WHERE forum_id = '$forum_id'"; if(!$result = $db->sql_query($sql)) { - error_die($db, QUERY_ERROR); + error_die(SQL_QUERY, "Could not obtain forum/forum access information.", __LINE__, __FILE__); } $forum_info = $db->sql_fetchrowset($result); $forum_name = stripslashes($forum_info[0]["forum_name"]); |
