[Solved] Function split() is deprecated in /includes/MXCharts/mx_charts.

Hello everyone

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 occur in: 

Line: 201
Code:         $arr = split("[\.,]", $y);

Change to:
Code:         $arr = preg_split("/[\.,]/", $y);

And Line --------------------------------------------------------------

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

Change to:
code:         $arr = preg_split('/-/', substr($date, 0, 10));

Adobe

exelwebs VPS
Exelwebs SSL Certificates
MyBiznessRocks
Cycle Africa
 

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company