From e917ec31fe3424783deb4ced1bc8a29fd434969d Mon Sep 17 00:00:00 2001 From: "Michael T. Dean" Date: Tue, 18 Jun 2013 16:32:54 -0400 Subject: [PATCH] Remove deprecated defined() on aggregate from mythconverg_backup.pl with patch from Jerry. Fixes #11408. --- mythtv/programs/scripts/database/mythconverg_backup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mythtv/programs/scripts/database/mythconverg_backup.pl b/mythtv/programs/scripts/database/mythconverg_backup.pl index 2537a45b1e2..6b3d0eb13cc 100755 --- a/mythtv/programs/scripts/database/mythconverg_backup.pl +++ b/mythtv/programs/scripts/database/mythconverg_backup.pl @@ -13,7 +13,7 @@ # Script info $NAME = 'MythTV Database Backup Script'; - $VERSION = '1.0.11'; + $VERSION = '1.0.12'; # Some variables we'll use here our ($username, $homedir, $mythconfdir, $database_information_file); @@ -1067,7 +1067,7 @@ my $command = shift; my $allow_untaint = 0; # Only allow directories from @d_allowed_paths that exist in the PATH - if (!defined(@allowed_paths)) + unless (@allowed_paths) { foreach my $path (split(/:/, $old_env_path)) {