Skip to content
Snippets Groups Projects
Commit 74a7d937 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/+/83564


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 473ecae4
Branches
Tags
No related merge requests found
......@@ -183,7 +183,7 @@ class PermissionController
break;
case 'toggle_edit_lock':
// Initialize requested lock state
$editLockState = !$conf['editLockState'];
$editLockState = $conf['editLockState'] ? 0 : 1;
// Execute TCE Update
$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