From a2129776e35d5c2813e16c57fc9da585a2f880c5 Mon Sep 17 00:00:00 2001 From: Ahmedul Haque Abid Date: Thu, 1 May 2014 01:57:53 +0600 Subject: Added `_trans_failure` property to fix PHP Warning. --- system/database/DB_driver.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'system/database') diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 7a0914123..12ab5bb2a 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -260,6 +260,15 @@ abstract class CI_DB_driver { */ protected $_trans_status = TRUE; + /** + * Transaction failure flag + * + * Used with transactions to determine if a transaction has failed. + * + * @var bool + */ + protected $_trans_failure = FALSE; + /** * Cache On flag * -- cgit v1.2.3-24-g4f1b