Skip to content
Snippets Groups Projects
Commit 0598521c authored by Christian Ludwig's avatar Christian Ludwig Committed by Stefan Bürk
Browse files

[BUGFIX] Admin-only edit lock can be disabled again

Fixes the Doctrine error:
Incorrect integer value: '' for column 'editlock' at row 1

Releases: main, 12.4, 11.5
Resolves: #103461
Resolves: #103462
Change-Id: I0e3f0344157f66c07681bd29a47f4f51e32e4225
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83541


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 77bbe4e9
Branches
Tags
No related merge requests found
...@@ -181,7 +181,7 @@ class PermissionController ...@@ -181,7 +181,7 @@ class PermissionController
break; break;
case 'toggle_edit_lock': case 'toggle_edit_lock':
// Initialize requested lock state // Initialize requested lock state
$editLockState = !$conf['editLockState']; $editLockState = $conf['editLockState'] ? 0 : 1;
// Execute TCE Update // Execute TCE Update
$tce->start([ $tce->start([
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment