diff --git a/ident_switch.php b/ident_switch.php index 81af553..f4e865b 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -200,7 +200,7 @@ class ident_switch extends rcube_plugin $rc->output->show_message('err.port.num', 'error'); else { - if ($fPort && ($fPort < 0 || $fPort > 65535)) + if ($fPort && ($fPort <= 0 || $fPort > 65535)) $rc->output->show_message('err.port.num', 'error'); else {