From: Davide Franco Date: Mon, 6 Dec 2010 14:57:20 +0000 (+0100) Subject: bacula-web: Internal code improvments X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b81ddd0d4f53d8d5348e5d43f477df453e658b87;hp=c52b42e8482edaf7bad146aa6c1c571a34e78703;p=bacula%2Fbacula bacula-web: Internal code improvments --- 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();