Skip to content

Commit

Permalink
Merge pull request #449 from Siorinex/patch-2
Browse files Browse the repository at this point in the history
Исправление косяка с не-админом
  • Loading branch information
sergejey committed Dec 20, 2018
2 parents 926ae7b + f0538d5 commit 2494625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/users/users_edit.inc.php
Expand Up @@ -43,10 +43,10 @@


global $is_admin;
$rec['IS_ADMIN']=$is_admin;
$rec['IS_ADMIN']=(int) $is_admin;

global $is_default;
$rec['IS_DEFAULT']=$is_default;
$rec['IS_DEFAULT']=(int) $is_default;

global $password;
$rec['PASSWORD']=$password;
Expand Down Expand Up @@ -91,4 +91,4 @@
}
}
outHash($rec, $out);
?>
?>

0 comments on commit 2494625

Please sign in to comment.