From 1da53de84b0cd0b2c4abf87a933bd0f941c6c821 Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 19 Oct 2011 14:58:33 +0000 Subject: [PATCH] // little fix --- 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();