diff options
| author | michael pereira | 2011-04-10 21:05:31 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-10 21:05:31 +0200 |
| commit | db0e610aa4b58a55604b2a0474f697333d839d10 (patch) | |
| tree | cc2b9e0031a1280b9394df85df4297fd326cb548 /application/modules/user/forms | |
| parent | Config Own/Group getrennt (diff) | |
| parent | Disabled oder Readonly-Elemente werden immer ausgegraut und haben den normale... (diff) | |
| download | pbs2-db0e610aa4b58a55604b2a0474f697333d839d10.tar.gz pbs2-db0e610aa4b58a55604b2a0474f697333d839d10.tar.xz pbs2-db0e610aa4b58a55604b2a0474f697333d839d10.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms')
| -rw-r--r-- | application/modules/user/forms/FilterEntry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/forms/FilterEntry.php b/application/modules/user/forms/FilterEntry.php index 3fe1aa7..ce2e4de 100644 --- a/application/modules/user/forms/FilterEntry.php +++ b/application/modules/user/forms/FilterEntry.php @@ -74,7 +74,7 @@ class user_Form_FilterEntry extends Zend_Form 'regex', false, array( - '/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/i', + '/^(([0-9]|[1-9][0-9]|0[0-9]{2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([[0-9]|[1-9][0-9]|0[0-9]{2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/i', 'messages' => array( Zend_Validate_Regex::NOT_MATCH => "'%value%' is not a valid IP-Adress", Zend_Validate_Regex::INVALID => 'IP-Adress contains invalid characters.' |
