Module: nagvis Branch: master Commit: e358f3e24e0a59e16d14c7701310dd634671d367 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=e358f3e24e0a59e16d14c7701310dd634671d367
Author: Lars Michelsen <[email protected]> Date: Mon Aug 31 09:58:05 2009 +0200 #86 Automap parameter ignoreHosts does not accept "," --- .../classes/validator/GlobalValidatorString.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/nagvis/includes/classes/validator/GlobalValidatorString.php b/share/nagvis/includes/classes/validator/GlobalValidatorString.php index 1d0877e..76f7eb3 100644 --- a/share/nagvis/includes/classes/validator/GlobalValidatorString.php +++ b/share/nagvis/includes/classes/validator/GlobalValidatorString.php @@ -106,7 +106,7 @@ class GlobalValidatorString extends GlobalValidatorAbstract { * @author Lars Michelsen <[email protected]> */ protected function isString() { - if(preg_match('/^[a-zA-Z0-9_-\s]*$/',$this->parameterValue)) { + if(preg_match('/^[a-zA-Z0-9_-,\s]*$/',$this->parameterValue)) { return TRUE; } else { $this->setMessage('validatorNotValidString'); @@ -132,4 +132,4 @@ class GlobalValidatorString extends GlobalValidatorAbstract { return FALSE; } } -?> \ No newline at end of file +?> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
