// little fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9466 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-10-19 14:58:33 +00:00
parent 74788d0959
commit dd9257d008
+1 -1
View File
@@ -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();