From e23c47d06adda746c330be387f042319f0d7e4dc Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Thu, 21 Aug 2014 04:35:59 -0400
Subject: [PATCH] FS#3635 - Adding Shell Users with remote API is broken in 3.0.5.4p3 FS#3632 - Adding websites with remote API is broken in 3.0.5.4p3 release. Missed to commit one file for: FS#3634 - Add option to disable statistics for a website
---
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