From f880986bb00d61dc2220c27cf69849db3d05b33b Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 9 May 2019 11:04:58 +0200 Subject: [PATCH] Added {RELATED_DATE} shortcode --- e107_handlers/form_handler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 2c9b4c721..fd760bf40 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -4338,7 +4338,8 @@ var_dump($select_options);*/ 'RELATED_URL' => $tp->replaceConstants($val['url'],'full'), 'RELATED_TITLE' => $val['title'], 'RELATED_IMAGE' => $tp->toImage($val['image']), - 'RELATED_SUMMARY' => $tp->toHTML($val['summary'],true,'BODY') + 'RELATED_SUMMARY' => $tp->toHTML($val['summary'],true,'BODY'), + 'RELATED_DATE' => $val['date'], ); $list[] = $tp->simpleParse($TEMPLATE['item'], $row);