Issues

ZF-10170: Zend_Log:>addPriority() allowed priority duplicates

Description

Zend_Log:>addPriority(), fires a exception, case assigned priority already existing. Except to priorityName=emerg

Reproduced sample code:


Zend_Log:>addPriority('emerg', 8);

Expected a Exception

Comments

Fixed in trunk with r22605 and applied on 1.10 branch with r22606.