diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-05-13 00:28:39 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-05-13 00:28:39 +0000 |
commit | 74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031 (patch) | |
tree | a9a0e6ba8397ae83dd9e2b95a49ffb8d248e3170 /phpBB/memberlist.php | |
parent | 07148f9f31b27bb054b0c516df1e74a8a52e9375 (diff) | |
download | forums-74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031.tar forums-74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031.tar.gz forums-74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031.tar.bz2 forums-74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031.tar.xz forums-74d20fcc96e0b40ccd1a775a4ef29d0cf3ddb031.zip |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@277 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index ff34af94af..ea7fdb41a6 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -164,7 +164,8 @@ if(($selected_members = $db->sql_numrows($result)) > 0) { if(DEBUG) { - error_die(SQL_QUERY, "Error getting total users.", __LINE__, __FILE__); + $error = $db->sql_error(); + error_die(SQL_QUERY, "Error getting total users. Reason: ".$error['message']."<br>Query: $sql", __LINE__, __FILE__); } else { |