From 80ed7b69ade62e4c5d3cfe755f86c98a84208f5a Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Thu, 22 Sep 2016 18:06:50 +1000 Subject: [PATCH] Issue45 - Fixed: Inverted action buttons from planned and history tables. --- classes/local/output/manage/history_table.php | 2 +- classes/local/output/manage/planned_table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/local/output/manage/history_table.php b/classes/local/output/manage/history_table.php index a7113e4..20b6da8 100644 --- a/classes/local/output/manage/history_table.php +++ b/classes/local/output/manage/history_table.php @@ -66,7 +66,7 @@ class history_table extends base_table { format_time($outage->get_duration_planned()), $finished, $outage->get_title(), - $this->set_data_buttons($outage, true), + $this->set_data_buttons($outage, false), ]); } } diff --git a/classes/local/output/manage/planned_table.php b/classes/local/output/manage/planned_table.php index 2cce3eb..3266f1c 100644 --- a/classes/local/output/manage/planned_table.php +++ b/classes/local/output/manage/planned_table.php @@ -70,7 +70,7 @@ class planned_table extends base_table { userdate($outage->starttime, get_string('datetimeformat', 'auth_outage')), format_time($outage->get_duration_planned()), $title, - $this->set_data_buttons($outage, false), + $this->set_data_buttons($outage, true), ]); } }