fixing php warning

This commit is contained in:
Antoine M 2024-01-18 15:47:01 +01:00
parent 4f571e995b
commit 517ca7e791

View File

@ -7,6 +7,8 @@ function homegrade_brochure_post_title_updater($post_id)
$my_post['ID'] = $post_id;
$fields = get_fields($post_id);
if (!$fields) return;
$brochureTaxonomy = $fields['publications_taxonomy'];
if (!$post_id) return;