Module: nagvis
Branch: nagvis-1.4
Commit: 36c4259ccab18496e5b8fbdb472f023b738e0560
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=36c4259ccab18496e5b8fbdb472f023b738e0560

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/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php 
b/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php
index 1d0877e..76f7eb3 100644
--- a/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php
+++ b/nagvis/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

Reply via email to