mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Fix PHP notice.
This commit is contained in:
parent
5cfa7a6800
commit
ff52ff0206
|
@ -63,7 +63,9 @@ function farm_log_menu_local_tasks_alter(&$data, $router_item, $root_path) {
|
|||
}
|
||||
|
||||
// Add the action output.
|
||||
$data['actions']['output'][] = $output;
|
||||
if (!empty($output)) {
|
||||
$data['actions']['output'][] = $output;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue