From dd9257d008f38ea848b55ed13dbbd11329f2fcf5 Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 19 Oct 2011 14:58:33 +0000 Subject: [PATCH] // little fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9466 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/db/Db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/db/Db.php b/classes/db/Db.php index 434a9d657..3032f8277 100644 --- a/classes/db/Db.php +++ b/classes/db/Db.php @@ -261,7 +261,7 @@ abstract class DbCore { // Check if $data is a list of row $current = current($data); - if (!is_array($current) || !isset($current['type'])) + if (!is_array($current) || isset($current['type'])) $data = array($data); $keys = array();