From dc19c4eb8c75b5ec02d2d5337b7fb63c8b61688e Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Sun, 16 Feb 2014 06:27:35 -0500 Subject: [PATCH] Fixed: FS#3093 - PHPMyAdmin URL field does not accept uri symbols '?', '&' and '=' --- interface/lib/classes/validate_reseller.inc.php | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/interface/lib/classes/validate_reseller.inc.php b/interface/lib/classes/validate_reseller.inc.php index 5453905..c02c4fd 100644 --- a/interface/lib/classes/validate_reseller.inc.php +++ b/interface/lib/classes/validate_reseller.inc.php @@ -29,19 +29,19 @@ */ class validate_reseller { - - /* + + /* Validator function to check if a given cron command is in correct form (url only). */ - function limit_client($field_name, $field_value, $validator) { - global $app; - + function limit_client($field_name, $field_value, $validator) { + global $app; + if($field_value <= 0) { return $app->tform->lng('limit_client_error_positive'); } else { return ''; } - } + } - -} \ No newline at end of file + +} -- Gitblit v1.9.1