diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-15 17:33:02 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-15 17:33:02 +0000 |
commit | 13c7b8d39d5667b5fded7ff805ebc0337464f773 (patch) | |
tree | 0b57f552fc7df2f148e08a066422fd8ee65584c6 /phpBB/functions/functions.php | |
parent | eecdd3049f42166975864d2c1eb359ba09c9c229 (diff) | |
download | forums-13c7b8d39d5667b5fded7ff805ebc0337464f773.tar forums-13c7b8d39d5667b5fded7ff805ebc0337464f773.tar.gz forums-13c7b8d39d5667b5fded7ff805ebc0337464f773.tar.bz2 forums-13c7b8d39d5667b5fded7ff805ebc0337464f773.tar.xz forums-13c7b8d39d5667b5fded7ff805ebc0337464f773.zip |
error_die changes and various bug fixes
git-svn-id: file:///svn/phpbb/trunk@150 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/functions/functions.php')
-rw-r--r-- | phpBB/functions/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/functions/functions.php b/phpBB/functions/functions.php index bc2fd5b670..86957f4a6f 100644 --- a/phpBB/functions/functions.php +++ b/phpBB/functions/functions.php @@ -85,7 +85,7 @@ function make_jumpbox($db) if(!$q_categories = $db->sql_query($sql)) { $db_error = $db->sql_error(); - error_die($db, GENERAL_ERROR, "Couldn't obtain category list ".$db_error["message"]." : make_jumpbox"); + error_die(SQL_QUERY, "Couldn't obtain category list.", __LINE__, __FILE__); } $total_categories = $db->sql_numrows(); @@ -100,7 +100,7 @@ function make_jumpbox($db) ORDER BY cat_id, forum_order"; if(!$q_forums = $db->sql_query($sql)) { - error_die($db, QUERY_ERROR); + error_die(SQL_QUERY, "Couldn't obtain forums information.", __LINE__, __FILE__); } $total_forums = $db->sql_numrows($q_forums); $forum_rows = $db->sql_fetchrowset($q_forums); |