Преглед изворни кода

Merge pull request #20 from lastsamurai26/patch-3

Remove undefined variable $quota
Thomas Leister пре 9 година
родитељ
комит
2f4684ca3f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/php/pages/admin/edituser.php

+ 1 - 1
include/php/pages/admin/edituser.php

@@ -72,7 +72,7 @@
 			$pass = $_POST['password'];
 			$pass_rep = $_POST['password_rep'];
 			
-			if($username !== "" && $domain !== "" && $quota !== "" && $mailbox_limit !== ""){
+			if($username !== "" && $domain !== ""  && $mailbox_limit !== ""){
 				// Check if user already exists
 				$user_exists = $db->query("SELECT `".DBC_USERS_USERNAME."`, `".DBC_USERS_DOMAIN."` FROM `".DBT_USERS."` WHERE `".DBC_USERS_USERNAME."` = '$username' AND `".DBC_USERS_DOMAIN."` = '$domain';");
 				if($user_exists->num_rows == 0){