From 998bf163affbc7a9d4eef2c8ea282d3f63773585 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 8 Jul 2016 09:09:47 +0200 Subject: [PATCH] grr fix typo, thanks to Travis --- api/src/Db/Backup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Db/Backup.php b/api/src/Db/Backup.php index 8c69231e9a..1267ce9f54 100644 --- a/api/src/Db/Backup.php +++ b/api/src/Db/Backup.php @@ -360,7 +360,7 @@ class Backup // so switching strict-mode off temporary for the restore (we dont create these!) if (substr($this->db->Type,0,5) == 'mysql') { - $this->query("SET SESSION sql_mode=(SELECT REPLACE(REPLACE(@@sql_mode,'STRICT_ALL_TABLES',''),'STRICT_TRANS_TABLES',''))", __LINE__, __FILE__); + $this->db->query("SET SESSION sql_mode=(SELECT REPLACE(REPLACE(@@sql_mode,'STRICT_ALL_TABLES',''),'STRICT_TRANS_TABLES',''))", __LINE__, __FILE__); } else {