From 1eae5d3780d3309eed93ce8034dc6bd4d9ca25c4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 28 Oct 2020 09:51:38 -0600 Subject: [PATCH] Etemplate: Fix for Box not properly handling namespaces, now working for submit too --- api/src/Etemplate/Widget/Box.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/Etemplate/Widget/Box.php b/api/src/Etemplate/Widget/Box.php index 84abce1364..28f0698417 100644 --- a/api/src/Etemplate/Widget/Box.php +++ b/api/src/Etemplate/Widget/Box.php @@ -98,7 +98,9 @@ class Box extends Etemplate\Widget break; } //error_log('Running ' . $method_name . ' on child ' . $n . '(' . $child . ') ['.$expand['row'] . ','.$expand['c'] . ']'); - $disabled = $child->run($method_name, [$cname,$expand], $respect_disabled, $columns_disabled) === false; + $params[0] = $cname; + $params[1] = $expand; + $disabled = $child->run($method_name, $params, $respect_disabled, $columns_disabled) === false; } $params[0] = $old_cname;