Skip to content
Snippets Groups Projects
Commit 0bb48d81 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix bug in transactions with PDO

parent 7c00aedc
Loading
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment