#13283 fixed permissions on custom graphs buttons

This commit is contained in:
Jorge Rincon 2024-05-06 09:47:26 +02:00
parent 9fa33b60fb
commit b877758d3f
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ if (!empty($graphs)) {
$ActionButtons[] = '</form>';
}
if (!empty($result_graphs)) {
if (!empty($result_graphs) && ($report_w || $report_m)) {
$ActionButtons[] = "<form method='post' id='form_delete' action='index.php?sec=reporting&sec2=godmode/reporting/graphs'>";
$ActionButtons[] = html_print_input_hidden('multiple_delete', 1, true);
$ActionButtons[] = html_print_submit_button(