Skip to content

Commit 6f03cca

Browse files
author
Till Brehm
committed
Fixed a issue in reseller limit validation.
1 parent 4aec304 commit 6f03cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/validate_reseller.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class validate_reseller {
3636
function limit_client($field_name, $field_value, $validator) {
3737
global $app;
3838

39-
if($field_value <= 0) {
39+
if($field_value != -1 && $field_value <= 0) {
4040
return $app->tform->lng('limit_client_error_positive');
4141
} else {
4242
return '';

0 commit comments

Comments
 (0)