diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
commit | 1339a64632c441e4d7858bd5946738c9840c624d (patch) | |
tree | 0b1393ca9af05d1af690fbf6c569c195f4136e4c /bin/update-all-reports | |
parent | 17cc40a8a2387669984ae4a36bb0d30d889d1a07 (diff) | |
parent | 4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (diff) |
Merge branch 'fiksgatami-dev' into fiksgatami-prod
Oppgrader prod til 1.7
Diffstat (limited to 'bin/update-all-reports')
-rwxr-xr-x | bin/update-all-reports | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/update-all-reports b/bin/update-all-reports index f6cd34210..0627cedc2 100755 --- a/bin/update-all-reports +++ b/bin/update-all-reports @@ -57,8 +57,7 @@ while ( my @problem = $problems->next ) { $problem{bodies} = 0; } else { # Add to bodies it was sent to - (my $bodies = $problem{bodies_str}) =~ s/\|.*$//; - @bodies = split( /,/, $bodies ); + @bodies = split( /,/, $problem{bodies_str} ); $problem{bodies} = scalar @bodies; } foreach my $body ( @bodies ) { |