From: Sergio Santoro Date: Sat, 12 Apr 2014 12:39:13 +0000 (+0200) Subject: Fixing bug #63738: Debug msg not showing correctly X-Git-Tag: 1.31.0-rc.0~16241^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=8117ab63f42f87e6fcde6d8d05630f797953b4cc;p=lhc%2Fweb%2Fwiklou.git Fixing bug #63738: Debug msg not showing correctly Change-Id: I49d826f63810d99aefa5b842cd3d6b88989ef086 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 52a3298cf2..9254bb48aa 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -630,8 +630,8 @@ abstract class DatabaseBase implements IDatabase, DatabaseType { public function setFlag( $flag ) { global $wgDebugDBTransactions; $this->mFlags |= $flag; - if ( ( $flag & DBO_TRX ) & $wgDebugDBTransactions ) { - wfDebug( "Implicit transactions are now disabled.\n" ); + if ( ( $flag & DBO_TRX ) && $wgDebugDBTransactions ) { + wfDebug( "Implicit transactions are now enabled.\n" ); } }