Skip to content

Commit

Permalink
Merge branch '4.14' of https://github.com/craftcms/cms into 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 5, 2024
2 parents 05b823a + f73a913 commit 51d40ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Gc.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ private function _deleteOrphanedFkRows(): void
} else {
$sql = <<<SQL
DELETE FROM $table->name t
WHERE t.$fkColumn IS NOT NULL
WHERE t."$fkColumn" IS NOT NULL
AND NOT EXISTS (
SELECT * FROM $refTable
WHERE "$pkColumn" = t."$fkColumn"
Expand Down

0 comments on commit 51d40ab

Please sign in to comment.