]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Internal code improvments
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 6 Dec 2010 14:57:20 +0000 (15:57 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:31 +0000 (14:43 +0200)
gui/bacula-web/index.php

index 151093b9b76c753e1d9b443382205f67f25dd729..93a130edff0c8b44da2857a5eada454b3afc02e8 100644 (file)
@@ -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();