diff options
Diffstat (limited to 'perllib/Utils.pm')
-rw-r--r-- | perllib/Utils.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/Utils.pm b/perllib/Utils.pm index 09c7386b4..ab7bc6e12 100644 --- a/perllib/Utils.pm +++ b/perllib/Utils.pm @@ -241,6 +241,7 @@ sub cleanup_text { sub prettify_epoch { my ( $epoch, $type ) = @_; + $type ||= ''; $type = 'short' if $type eq '1'; my $dt = DateTime->from_epoch( epoch => $epoch, time_zone => 'local' ); |