Skip to content

Commit

Permalink
[0.85]fix unchecking case in profile - see #180
Browse files Browse the repository at this point in the history
  • Loading branch information
yllen committed Oct 16, 2015
1 parent 6576c63 commit d79ce39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/profileright.class.php
Expand Up @@ -236,7 +236,7 @@ static function fillProfileRights($profiles_id) {
function updateProfileRights($profiles_id, array $rights=array()) {

foreach ($rights as $name => $right) {
if (isset($right) && $right) {
if (isset($right)) {
if ($this->getFromDBByQuery("WHERE `profiles_id` = '$profiles_id'
AND `name` = '$name'")) {

Expand Down

0 comments on commit d79ce39

Please sign in to comment.