edit_user.php
changeset 73 8a239565e9b3
parent 71 e1b918eaf69a
child 82 c255196bc447
equal deleted inserted replaced
72:a5cf0384e9b4 73:8a239565e9b3
    33 		{
    33 		{
    34 			$active = 1;
    34 			$active = 1;
    35 		}
    35 		}
    36 		if(edit_user($_POST["number"], $_POST["username"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $active, $_POST["password"]))
    36 		if(edit_user($_POST["number"], $_POST["username"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $active, $_POST["password"]))
    37 		{
    37 		{
    38 			clean_page($BASE_URL . $BASE_PATH . "users.php");
    38 			clean_page("users.php");
    39 		}
    39 		}
    40 		else
    40 		else
    41 		{
    41 		{
    42 			error("Error editting user!");
    42 			error("Error editting user!");
    43 		}
    43 		}