]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix listing days of week in schedule setting
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 15 Sep 2017 05:49:44 +0000 (07:49 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Fri, 15 Sep 2017 05:54:36 +0000 (07:54 +0200)
gui/baculum/protected/Web/Portlets/DirectiveSchedule.php

index b34d8f1cc3e630ea3216b506037ca62655e6f66a..2c1be5558f1a996dc45e9bdcd0d666297130b2fe 100644 (file)
@@ -246,6 +246,9 @@ class DirectiveSchedule extends DirectiveListTemplate {
                $this->WeekRangeTo->setDirectiveValue($week_range_to);
 
                $wdays_long = array_values(Params::$wdays);
+               $this->Wday->setData(Params::$wdays);
+               $this->WdayRangeFrom->setData(Params::$wdays);
+               $this->WdayRangeTo->setData(Params::$wdays);
 
                $wday_single = null;
                $wday_range_from = null;