status => \%status,
days_until => 1,
);
- if ($days >= 0 and defined $status->{location} and $status->{location} ne 'archive') {
+ if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') {
$result .= ";\n<strong>Will be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . "</strong>";
}
}