]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix TPhpFatalErrorException exception on job view page with PHP version...
authorMarcin Haba <marcin.haba@bacula.pl>
Thu, 2 May 2019 16:55:59 +0000 (18:55 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 25 May 2019 12:59:24 +0000 (14:59 +0200)
gui/baculum/protected/Web/Portlets/StatusSchedule.tpl

index 883d599b0d42ace4ba644dd8d4034b8959f9cb9d..c9530b58767f5b71f060dffc8d69ef68c0dbe7c5 100644 (file)
@@ -90,7 +90,7 @@
                                <th><%[ Type ]%></th>
                                <th><%[ Priority ]%></th>
                                <th><%[ Scheduled ]%></th>
-                               <%=empty($this->getJob()) ? '<th>' . Prado::localize('Job name') . '</th>': ''%>
+                               <%=empty($this->Job) ? '<th>' . Prado::localize('Job name') . '</th>': ''%>
                                <th><%[ Client ]%></th>
                                <th><%[ FileSet ]%></th>
                                <th><%[ Schedule ]%></th>
@@ -154,7 +154,7 @@ var oJobScheduleList = {
                                                return Units.format_date(data);
                                        }
                                },
-                               <%=empty($this->getJob()) ? '{data: "name"},' : ''%>
+                               <%=empty($this->Job) ? '{data: "name"},' : ''%>
                                {data: 'client'},
                                {data: 'fileset'},
                                {data: 'schedule'}