Skip to content
Snippets Groups Projects
Commit 5678489d authored by sleitner's avatar sleitner Committed by Damien McKenna
Browse files

Issue #3518526 by sleitner, damienmckenna: Resolve access check errors.

parent 9a7bbc4b
No related branches found
No related tags found
2 merge requests!184Issue #3518526: Resolve access check errors for D10 compatibility custom tags,!111Issue #3378434 by zolt_toth: Empty values not removed from multi-value meta tags
Pipeline #480052 passed with warnings
Metatag 2.1.x, 202x-xx-xx
-------------------------
#3515603 by claudiu.cristea, damienmckenna: PHP 8.4 support.
#3518526 by sleitner, damienmckenna: Resolve access check errors.
Metatag 2.1.0, 2024-11-07
......
......@@ -114,6 +114,7 @@ class MetaTagCustomTagForm extends EntityForm {
*/
public function exist($id) {
$entity = $this->entityTypeManager->getStorage('metatag_custom_tag')->getQuery()
->accessCheck(FALSE)
->condition('id', $id)
->execute();
return (bool) $entity;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment