Skip to content

Commit

Permalink
fix unchecking case in profile - fixed #180
Browse files Browse the repository at this point in the history
  • Loading branch information
yllen committed Oct 16, 2015
1 parent fd257bd commit 59d73fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/profileright.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,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 59d73fd

Please sign in to comment.