Commit 6f03cca3 authored by Till Brehm's avatar Till Brehm

Fixed a issue in reseller limit validation.

parent 4aec3040
......@@ -36,7 +36,7 @@ class validate_reseller {
function limit_client($field_name, $field_value, $validator) {
global $app;
if($field_value <= 0) {
if($field_value != -1 && $field_value <= 0) {
return $app->tform->lng('limit_client_error_positive');
} else {
return '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment