]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix raiseError call in the MDB2 sqlite3 driver
authorRobin Appelman <icewind@owncloud.com>
Mon, 22 Apr 2013 18:34:00 +0000 (20:34 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 22 Apr 2013 18:34:00 +0000 (20:34 +0200)
lib/MDB2/Driver/sqlite3.php

index 8f057cfb6e8820c28f75cbf2d5478648db2f5902..aef0eab9bf1507d28207e3d3d797ec26925fb0a8 100644 (file)
@@ -892,10 +892,10 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
         $connection = $this->getConnection();
         if (PEAR::isError($connection)) {
             return $connection;
-               }
+        }
         $statement =$this->connection->prepare($query);
         if (!$statement) {
-            return $this->db->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
+            return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
                         'unable to prepare statement: '.$query);
         }