ZF-11837: Zend_Locale_Format::checkDateFormat() generates E_NOTICE when locale option key not specified


In Locale/Format.php, line 1140:

$options['date_format'] = self::getDateFormat($options['locale']);

$options may not contain a 'locale' element at this point, generating an E_NOTICE.

This will resolve to NULL which will be handled correctly further down the call chain (use application's default locale instead), so the problem is only the E_NOTICE itself.


Fixed in trunk r24518 r24520 r24521 Merged to release-1.11 in r24519 r24522