From 2e5b1afd375e1065dfb451281e44a5a172fd2e8b Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Wed, 08 Jan 2014 10:45:07 -0500 Subject: [PATCH] fixed typo --- 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