From 654e5151cf5a8ea1bc5ccef587d0d8a81ea698c6 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 19 Mar 2002 01:07:36 +0000 Subject: Minor update to return true should a transaction be ended without a query ... does nothing except prevent premature failure of calling routine git-svn-id: file:///svn/phpbb/trunk@2341 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/db') diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php index f61f7cb755..054394f05e 100644 --- a/phpBB/db/mysql.php +++ b/phpBB/db/mysql.php @@ -114,7 +114,7 @@ class sql_db } else { - return false; + return ( $transaction == END_TRANSACTION ) ? true : false; } } -- cgit v1.2.1