Module: nagvis Branch: nagvis-1.4 Commit: e353eab978b0606c93b9d1ab4b0e763c215ca954 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=e353eab978b0606c93b9d1ab4b0e763c215ca954
Author: Lars Michelsen <[email protected]> Date: Fri Oct 9 19:43:16 2009 +0200 #124 Allowing dots in automap root --- .../classes/validator/GlobalValidatorString.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php b/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php index c3d3d45..98cb694 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'); ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
