Skip to content
Permalink
Browse files

Fix postgresql convert false to "false"

  • Loading branch information...
c12simple committed Oct 6, 2017
1 parent 2373c35 commit a673005fc099d0a7e6cf4075604fa0ae0c34c966
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/core.conf/AbstractUser.php
@@ -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);

0 comments on commit a673005

Please sign in to comment.
You can’t perform that action at this time.