From b81ddd0d4f53d8d5348e5d43f477df453e658b87 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 6 Dec 2010 15:57:20 +0100 Subject: [PATCH 1/1] bacula-web: Internal code improvments --- gui/bacula-web/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index 151093b9b7..93a130edff 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -128,8 +128,8 @@ $smarty->assign( 'total_name_jobs', $dbSql->Get_BackupJob_Names() ); $smarty->assign('pools',$dbSql->GetVolumeList() ); // Last 24 hours completed jobs number (last_run_report.tpl) -$failed_jobs = $dbSql->GetLastJobs(); -$smarty->assign( 'completed_jobs', $failed_jobs['completed_jobs'] ); +$completed_jobs = $dbSql->GetLastJobs(); +$smarty->assign( 'completed_jobs', $completed_jobs['completed_jobs'] ); // Last 24 hours failed jobs number (last_run_report.tpl) $failed_jobs = $dbSql->GetLastErrorJobs(); -- 2.39.2