diff options
| author | 2014-10-05 23:57:54 +0200 | |
|---|---|---|
| committer | 2014-10-05 23:57:54 +0200 | |
| commit | 031c1d802d74b94d5ef5245f3678138107621179 (patch) | |
| tree | 9c8f9083287fc2dd48fc3c2caade4230542c04ea /lib/Minz/ModelPdo.php | |
| parent | e2da6e6e6b871dc3dbc289cdd40ba401a21d8e91 (diff) | |
Fix a bug (has_transaction)
Introduced by the last commit.
Diffstat (limited to 'lib/Minz/ModelPdo.php')
| -rw-r--r-- | lib/Minz/ModelPdo.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index 69e46fb39..66127ea22 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -92,18 +92,18 @@ class Minz_ModelPdo { public function beginTransaction() { $this->bd->beginTransaction(); - $this->has_transaction = true; + self::$has_transaction = true; } public function hasTransaction() { - return $this->has_transaction; + return self::$has_transaction; } public function commit() { $this->bd->commit(); - $this->has_transaction = false; + self::$has_transaction = false; } public function rollBack() { $this->bd->rollBack(); - $this->has_transaction = false; + self::$has_transaction = false; } public static function clean() { |
