diff --git a/core/model/Database.php b/core/model/Database.php index 0eabfede2..eeb55d4a4 100755 --- a/core/model/Database.php +++ b/core/model/Database.php @@ -546,6 +546,7 @@ abstract class Query extends Object implements Iterator { * @return array */ public function map() { + $column = array(); foreach($this as $record) { $key = reset($record); $val = next($record);