edit_user.php
changeset 184 b60b88b1ae08
parent 126 cb06e3e29ed8
child 195 5ac118d6556c
equal deleted inserted replaced
183:aae57715199e 184:b60b88b1ae08
    32 
    32 
    33 if ($edit_id == "-1") {
    33 if ($edit_id == "-1") {
    34 	error(ERR_INV_INPUT);
    34 	error(ERR_INV_INPUT);
    35 } elseif (($edit_id == $_SESSION["userid"] && $perm_edit_own == "1") || ($edit_id != $_SESSION["userid"] && $perm_edit_others == "1" )) {
    35 } elseif (($edit_id == $_SESSION["userid"] && $perm_edit_own == "1") || ($edit_id != $_SESSION["userid"] && $perm_edit_others == "1" )) {
    36 
    36 
    37 	if($_POST["commit"]) {
    37 	if(isset($_POST["commit"])) {
    38 
    38 
    39 		$i_username = "-1";
    39 		$i_username = "-1";
    40 		$i_fullname = "-1";
    40 		$i_fullname = "-1";
    41 		$i_email = "-1";
    41 		$i_email = "-1";
    42 		$i_description = "-1";
    42 		$i_description = "-1";