Function split() is deprecated in mx_charts.

Function split() is deprecated in mx_charts.

Function split() is deprecated in /includes/MXCharts/mx_charts.
divider

After I upgraded to a new server with advanced PHP 5++ i have found a bug in this extension as i still using it.

The problem occurs in:

Line: 201:

$arr = split("[\.,]", $y);

Change to:

$arr = preg_split("/[\.,]/", $y);

And Line: 557

$arr = split('[-/]', substr($date, 0, 10));

Change to:

$arr = preg_split('/-/', substr($date, 0, 10));
Written by:  - 17 Oct, 2012