Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix postgresql convert false to "false"
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Oct 6, 2017
1 parent 2373c35 commit a673005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/core.conf/AbstractUser.php
Expand Up @@ -282,7 +282,7 @@ public function removeLock($lockAction)
public function getLock()
{
if(AJXP_SERVER_DEBUG && $this->isAdmin() && $this->getGroupPath() === "/") return false;
if (!empty($this->rights["ajxp.lock"])) {
if (!empty($this->rights["ajxp.lock"]) && ($this->rights["ajxp.lock"] !== "false")) {
return $this->rights["ajxp.lock"];
}
return $this->mergedRole->filterParameterValue('core.conf', 'USER_LOCK_ACTION', AJXP_REPO_SCOPE_ALL, false);
Expand Down

0 comments on commit a673005

Please sign in to comment.