summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index 26d6d14..26fbe2a 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -409,7 +409,7 @@ if ($_POST) {
}
}
- if ($pconfig['maxclients'] && !is_numeric($pconfig['maxclients'])) {
+ if ($pconfig['maxclients'] && !is_numericint($pconfig['maxclients'])) {
$input_errors[] = gettext("The field 'Concurrent connections' must be numeric.");
}
OpenPOWER on IntegriCloud