From a673005fc099d0a7e6cf4075604fa0ae0c34c966 Mon Sep 17 00:00:00 2001 From: tran Date: Fri, 6 Oct 2017 16:20:24 +0200 Subject: [PATCH] Fix postgresql convert false to "false" --- core/src/plugins/core.conf/AbstractUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/plugins/core.conf/AbstractUser.php b/core/src/plugins/core.conf/AbstractUser.php index 4a8fa1506b..d231cee5ba 100644 --- a/core/src/plugins/core.conf/AbstractUser.php +++ b/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);