[BackupPC-users] realindex.cgi: defined(@array) is deprecated

2015-01-07 Thread lanceh1412-busin...@yahoo.co.uk
Hi, I am getting this error in the Apache logs every time I browse the backups: [Wed Jan 07 09:16:31.673671 2015] [cgi:error] [pid 7594] [client  192.168.1.11:50639] AH01215: [Wed Jan  7 09:16:31 2015] realindex.cgi: defined(@array) is deprecated at

Re: [BackupPC-users] realindex.cgi: defined(@array) is deprecated

2015-01-07 Thread Alexander Moisseev
Yes, you can remove the highlighted text. If @Backups is undefined then condition @Backups 0 is false. http://perldoc.perl.org/perldiag.html#defined(@array)-is-deprecated --- a/lib/BackupPC/CGI/Browse.pm +++ b/lib/BackupPC/CGI/Browse.pm @@ -65,7 +65,7 @@ sub action # # default to