Selaa lähdekoodia

closing missing bracket

Serghey Rodin 13 vuotta sitten
vanhempi
sitoutus
fa894e57f5
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      web/add/web/index.php

+ 2 - 2
web/add/web/index.php

@@ -72,7 +72,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
 
         // Check ftp password length
         if (empty($_SESSION['error_msg'])) {
-            if (!empty($_POST['v_ftp_user']) {
+            if (!empty($_POST['v_ftp_user'])) {
                 $pw_len = strlen($_POST['v_ftp_password']);
                 if ($pw_len < 6 ) $_SESSION['error_msg'] = _('Password is too short.',$error_msg);
             }
@@ -80,7 +80,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
 
         // Check stats password length
         if (empty($_SESSION['error_msg'])) {
-            if (!empty($_POST['v_stats_user']) {
+            if (!empty($_POST['v_stats_user'])) {
                 $pw_len = strlen($_POST['v_stats_password']);
                 if ($pw_len < 6 ) $_SESSION['error_msg'] = _('Password is too short.',$error_msg);
             }