From bd07297e2d009762408805949c3da2746622a405 Mon Sep 17 00:00:00 2001 From: vChabot Date: Tue, 28 Feb 2012 16:39:14 +0000 Subject: [PATCH] // sql fix in AdminProductsController git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13703 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminProductsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index a04aa4c46..0be92954e 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -4002,7 +4002,7 @@ class AdminProductsControllerCore extends AdminController if (!empty($insert)) Db::getInstance()->execute(' - INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`) + INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`, `id_category_default`) VALUES '.pSQL($insert)); } }