From d3eb4880693d2eea466516a29b1b44b10dfb47f8 Mon Sep 17 00:00:00 2001 From: vSchoener Date: Tue, 13 Mar 2012 09:51:45 +0000 Subject: [PATCH] // pSQL fix --- controllers/admin/AdminAccountingExportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminAccountingExportController.php b/controllers/admin/AdminAccountingExportController.php index 20223b240..68b22870a 100644 --- a/controllers/admin/AdminAccountingExportController.php +++ b/controllers/admin/AdminAccountingExportController.php @@ -185,7 +185,7 @@ class AdminAccountingExportControllerCore extends AdminController VALUES('.implode(', ', $values).')'; else $query = 'UPDATE `'._DB_PREFIX_.'accounting_export` - SET `date` = CURRENT_TIMESTAMP, `file` = "'.$this->file.'" + SET `date` = CURRENT_TIMESTAMP, `file` = "'.pSQL($this->file).'" WHERE `id_accounting_export` = '.(int)$id_acc_export; Db::getInstance()->execute($query);