From 96517f93a39540a145c13fdb39923201c1093980 Mon Sep 17 00:00:00 2001 From: richard-slabbert <93714895+richard-slabbert@users.noreply.github.com> Date: Mon, 26 Sep 2022 14:37:46 +0200 Subject: [PATCH] Replace form placeholders in dropdown_populate Line 3966 was commented out. This lead to form placeholders not being replaced in dropdown_populate fields. --- components/com_fabrik/models/element.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/com_fabrik/models/element.php b/components/com_fabrik/models/element.php index 884b0e1ba3f..da4d9235946 100644 --- a/components/com_fabrik/models/element.php +++ b/components/com_fabrik/models/element.php @@ -3963,7 +3963,7 @@ protected function getPhpOptions($data = array()) if ($pop !== '') { $w = new FabrikWorker; - //$data = empty($data) ? $this->getFormModel()->getData() : $data; + $data = empty($data) ? $this->getFormModel()->getData() : $data; $pop = $w->parseMessageForPlaceHolder($pop, $data, false); $key = md5($pop) . '-' . md5(serialize($data));