summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
authorSimon2011-04-08 19:00:51 +0200
committerSimon2011-04-08 19:00:51 +0200
commitbb10fcf80e13b171be3bf4bcce7405d7315c3f21 (patch)
tree8203cf8e9f543700cda40ad216fb295e6b35c41a /application/modules/user/forms
parentPool & Client - Je nach Rechten unterschiedliche Anzeigen (diff)
downloadpbs2-bb10fcf80e13b171be3bf4bcce7405d7315c3f21.tar.gz
pbs2-bb10fcf80e13b171be3bf4bcce7405d7315c3f21.tar.xz
pbs2-bb10fcf80e13b171be3bf4bcce7405d7315c3f21.zip
findby in Filter angepasst, Aktionsicons nur bei Berechtigung
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r--application/modules/user/forms/FilterEntry.php2
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.'