[Tickets #6948] required phone numbers not pattern matched

bugs at horde.org bugs at horde.org
Wed Jun 18 10:59:23 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6948
-----------------------------------------------------------------------
  Ticket             | 6948
  Created By         | plehn at rz.uni-wuerzburg.de
  Summary            | required phone numbers not pattern matched
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
-----------------------------------------------------------------------


plehn at rz.uni-wuerzburg.de (2008-06-18 06:59) wrote:

If a phone number is required in Horde_Form_Type_phone, it is returned  
as valid if strlen>0. In this case no check for valid patterns is made.

The code in the else-block in Horde_Form_Type_phone::isValid should be  
executed in any case and should therefore be taken out of the  
else-block.





More information about the bugs mailing list