forked from extern/egroupware
Revert "Etemplate - avoid error if child is not a widget", it causes other random breaking
This reverts commit 1f63996a2c
.
This commit is contained in:
parent
1f63996a2c
commit
1131d07199
@ -92,11 +92,8 @@ class Box extends Etemplate\Widget
|
|||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if($child && $child instanceof Widget)
|
//error_log('Running ' . $method_name . ' on child ' . $n . '(' . $child . ') ['.$expand['row'] . ','.$expand['c'] . ']');
|
||||||
{
|
$disabled = $child->run($method_name, $params, $respect_disabled, $columns_disabled) === false;
|
||||||
//error_log('Running ' . $method_name . ' on child ' . $n . '(' . $child . ') ['.$expand['row'] . ','.$expand['c'] . ']');
|
|
||||||
$disabled = $child->run($method_name, $params, $respect_disabled, $columns_disabled) === false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$params[0] = $old_cname;
|
$params[0] = $old_cname;
|
||||||
|
Loading…
Reference in New Issue
Block a user