Db: fix default null property when fetching imports

This commit is contained in:
Thomas Gelf 2015-12-03 15:05:51 +01:00
parent 5a5f2faa77
commit 7cdb44b1f9

View File

@ -244,7 +244,7 @@ class Db extends DbConnection
$result = array();
$empty = (object) array();
foreach ($columns as $k => $v) {
$empty->$k = $v;
$empty->$k = null;
}
foreach ($db->fetchAll($query) as $row) {