f078aea95e
Gentoo bug 580254.
14 lines
433 B
Diff
14 lines
433 B
Diff
diff --git a/lib/BackupPC/CGI/Browse.pm b/lib/BackupPC/CGI/Browse.pm
|
|
index 7309955..fea400f 100644
|
|
--- a/lib/BackupPC/CGI/Browse.pm
|
|
+++ b/lib/BackupPC/CGI/Browse.pm
|
|
@@ -65,7 +65,7 @@ sub action
|
|
#
|
|
# default to the newest backup
|
|
#
|
|
- if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) {
|
|
+ if ( !defined($In{num}) && @Backups > 0 ) {
|
|
$i = @Backups - 1;
|
|
$num = $Backups[$i]{num};
|
|
}
|