Fixed bug to make getDefaultStatus() PHP 5.2.x backward compatible