diff --git a/etemplate/inc/class.advancedsearch_widget.inc.php b/etemplate/inc/class.advancedsearch_widget.inc.php index 5f7d8cbd0d..eb54b20330 100644 --- a/etemplate/inc/class.advancedsearch_widget.inc.php +++ b/etemplate/inc/class.advancedsearch_widget.inc.php @@ -127,7 +127,8 @@ } if(!empty($extension_data['row_actions'])) { - $result_rows_tpl->add_child($grid,$row_actions = $result_rows_tpl->empty_cell('hbox','row_action')); + $row_actions =& $result_rows_tpl->empty_cell('hbox','row_action'); + $result_rows_tpl->add_child($grid,$row_actions); foreach($extension_data['row_actions'] as $action => $options) { $result_rows_tpl->add_child($row_actions, $row_action = $result_rows_tpl->empty_cell($options['type'],$action.'[$row_cont[id]]',$options['options']));