Fixed fatal error on PHP 5.4
Fixed another empty(function) error on PHP 5.4