]> ruin.nu Git - ndwebbie.git/commitdiff
Fix for perl 5.24
authorMichael Andreen <harv@ruin.nu>
Sat, 2 Sep 2017 12:01:03 +0000 (14:01 +0200)
committerMichael Andreen <harv@ruin.nu>
Sat, 2 Sep 2017 12:01:03 +0000 (14:01 +0200)
lib/NDWeb/Controller/Members.pm

index 3ac7f8bea00e32a096a8db0bedff9c9a69af5cba..2e9c97722a7f5c90db6793dff0def6b55675fd79 100644 (file)
@@ -607,7 +607,7 @@ sub parseconfirmations {
                my @targets = split /\s+/, $+{targets};
                my @lts = split /\s+/, $+{lts};
                my @etas;
-               my $_ = $+{etas};
+               local $_ = $+{etas};
                while(/$etare/sxg){
                        push @etas, $1;
                }