Etemplate: Fix for Box not properly handling namespaces, now working for submit too

This commit is contained in:
nathangray 2020-10-28 09:51:38 -06:00
parent 7010cc36c1
commit 1eae5d3780

View File

@ -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;