From b7f2ebb5448f7992cceec899504bdd0a29058fb9 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 24 Oct 2016 10:02:31 +0930 Subject: [PATCH] Fix #6872 CP bandwidth 0 is no valid The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit. --- src/usr/local/www/services_captiveportal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index 275ab86330..5887bd5316 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -688,7 +688,7 @@ $section->addInput(new Form_Input( 'number', $pconfig['bwdefaultup'] ))->setHelp('If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. ' . - 'RADIUS can override the default settings. Leave empty or set to 0 for no limit.'); + 'RADIUS can override the default settings. Leave empty for no limit.'); $form->add($section);