Fix some bugs
Merge branch 'master' of https://github.com/GeekyTheory/PHP-Mysql-HighCharts