* Various tweaks to recent changes, including additional patches
[BackupPC.git] / lib / BackupPC / CGI / Summary.pm
index 50e730b..4d70694 100644 (file)
@@ -48,8 +48,7 @@ sub action
     GetStatusInfo("hosts");
     my $Privileged = CheckPermission();
 
-    foreach my $host ( GetUserHosts() ) { ## give access to users hosts only
-    ## foreach my $host ( sort(keys(%Status)) ) {
+    foreach my $host ( GetUserHosts(undef, 1) ) {
         my($fullDur, $incrCnt, $incrAge, $fullSize, $fullRate, $reasonHilite);
        my($shortErr);
         my @Backups = $bpc->BackupInfoRead($host);