mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
default backend
This commit is contained in:
parent
b560c99ceb
commit
45fd7dc75b
4 changed files with 6 additions and 3 deletions
|
@ -26,7 +26,7 @@ if (!empty($_POST['ok'])) {
|
|||
// Check empty fields
|
||||
if (empty($_POST['v_action'])) $errors[] = __('action');
|
||||
if (empty($_POST['v_protocol'])) $errors[] = __('protocol');
|
||||
if (empty($_POST['v_port'])) $errors[] = __('port');
|
||||
if (!isset($_POST['v_port'])) $errors[] = __('port');
|
||||
if (empty($_POST['v_ip'])) $errors[] = __('ip address');
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue