From c9cc1794d463ce97f08ad536686ad8314d4827ab Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 16 Oct 2015 16:03:20 +1100 Subject: [PATCH] Fix for new call to Sort::MASort() introduced in deon/lnapp@69c8052 --- classes/HighChart/Bubble.php | 2 +- classes/HighChart/Combo.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/HighChart/Bubble.php b/classes/HighChart/Bubble.php index 470d28b..4f2abf7 100644 --- a/classes/HighChart/Bubble.php +++ b/classes/HighChart/Bubble.php @@ -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) diff --git a/classes/HighChart/Combo.php b/classes/HighChart/Combo.php index 18969dc..21e866d 100644 --- a/classes/HighChart/Combo.php +++ b/classes/HighChart/Combo.php @@ -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()))));