From fa43c61a2209367cd4d0388fe087b7f421fbd85f Mon Sep 17 00:00:00 2001 From: Christian Foellmann Date: Mon, 22 Jul 2024 10:17:22 +0200 Subject: [PATCH] fix get_post_meta issue --- include/class-job-notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class-job-notifications.php b/include/class-job-notifications.php index b1227b7..03ad4dc 100644 --- a/include/class-job-notifications.php +++ b/include/class-job-notifications.php @@ -318,7 +318,7 @@ public static function getAllFields( $output, $job_id, $entry_id, $all_fields = foreach ($post_meta as $key => $meta) { //$meta = isset($meta[0]) ? $meta[0] : $meta; - $meta = get_post_meta($entry_id, $key, true); + $meta = get_post_meta($entry_id, $key, false); if( Job_Postings_Helper::is_serialized($meta) ) $meta = unserialize($meta);