diff --git a/classes/report_types/MysqlReportType.php b/classes/report_types/MysqlReportType.php index 8376a456..33b5d321 100644 --- a/classes/report_types/MysqlReportType.php +++ b/classes/report_types/MysqlReportType.php @@ -112,7 +112,7 @@ public static function getVariableOptions($params, &$report) { if(isset($params['all'])) $options[] = 'ALL'; while($row = mysql_fetch_assoc($result)) { - $options[] = $row[$params['column']]; + $options[] = $row; } return $options;