diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-05 01:23:41 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-05 01:23:41 +0100 |
commit | 0bb48d814bff0cfba0606818b36599c000b16a51 (patch) | |
tree | 15f688209e9f39a8f3284661815417d99cd9c985 | |
parent | 7c00aedc37cf039ec23c54429d5188ab7d219b7e (diff) | |
download | nextcloud-server-0bb48d814bff0cfba0606818b36599c000b16a51.tar.gz nextcloud-server-0bb48d814bff0cfba0606818b36599c000b16a51.zip |
fix bug in transactions with PDO
-rw-r--r-- | lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index 4860651b323..82d9b67dca8 100644 --- a/lib/db.php +++ b/lib/db.php @@ -486,7 +486,7 @@ class OC_DB { */ public static function beginTransaction(){ self::connect(); - if (self::$backend=self::BACKEND_MDB2 && !self::$connection->supports('transactions')) { + if (self::$backend==self::BACKEND_MDB2 && !self::$connection->supports('transactions')) { return false; } self::$connection->beginTransaction(); |