Module: nagvis Branch: nagvis-1.4 Commit: 3ebbab8d08eaf432f2423174f5fd95a0fc217ee4 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=3ebbab8d08eaf432f2423174f5fd95a0fc217ee4
Author: Lars Michelsen <[email protected]> Date: Wed Sep 2 17:16:50 2009 +0200 Fixed typo in latest changes --- .../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 76f7eb3..c3d3d45 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'); ------------------------------------------------------------------------------ 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
