summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d817bba)
raw | patch | inline | side by side (parent: d817bba)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2011 11:29:43 +0000 (11:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2011 11:29:43 +0000 (11:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20931 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget.inc
index 2c622cbf2eea1a73dfad13cb42013ea9098a75db..587623eaeb50df52bda9116c916467c7ea4d934e 100644 (file)
}
if(!empty($this->value) &&
!empty($this->syntax) &&
- !empty($this->syntax) && !preg_match($this->syntax, $this->value)){
+ !empty($this->syntax) && !preg_match('/'.$this->syntax.'/', $this->value)){
return(array(msgPool::invalid($this->display, $this->value, $this->syntax)));
}
return(array());