Skip to content

Commit

Permalink
[BUGFIX] Admin-only edit lock can be disabled again
Browse files Browse the repository at this point in the history
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: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
Christian Ludwig authored and sbuerk committed Mar 22, 2024
1 parent 473ecae commit 74a7d93
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -183,7 +183,7 @@ public function handleAjaxRequest(ServerRequestInterface $request): ResponseInte
break;
case 'toggle_edit_lock':
// Initialize requested lock state
$editLockState = !$conf['editLockState'];
$editLockState = $conf['editLockState'] ? 0 : 1;

// Execute TCE Update
$tce->start([
Expand Down

0 comments on commit 74a7d93

Please sign in to comment.