Fix for new call to Sort::MASort() introduced in deon/lnapp@69c8052

This commit is contained in:
Deon George 2015-10-16 16:03:20 +11:00
parent 059fa0f543
commit c9cc1794d4
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class HighChart_Bubble extends HighChart {
$output = '';
$result = array();
Sort::MASort($this->_series,'order()',0);
Sort::MASort($this->_series,array('order()'),0);
foreach ($this->_series as $axis => $datapoints) {
if ($output)

View File

@ -42,7 +42,7 @@ class HighChart_Combo extends HighChart {
}
foreach ($this->_series as $axis => $values) {
Sort::MASort($this->_series[$axis],'order()',0,FALSE);
Sort::MASort($this->_series[$axis],array('order()'),0,FALSE);
foreach ($this->_series[$axis] as $data) {
array_push($result,$data->as_array(array('color'=>$this->series_colour($data->index()))));