Fix Charts with Sugar and PHP 5.5x

Sugar uses code that is deprecated in PHP 5.5.x. The following code change resolves the issue. Not sure if it breaks anything in builds that are actually using translation but it works if you are using English. This was tested in SugarCRM Enterprise 7.2.2.1.