Issue #2311185 by vilepickle: Fixed Broken module in PHP 5.4.