Ensure title is defaulted

This commit is contained in:
Chris 2017-01-16 15:33:27 +00:00
parent f3b0b270f2
commit c4af365ae9

View File

@ -149,7 +149,7 @@ sub generate_errorbox {
$self -> log("error:fatal", $args -> {"message"}); $self -> log("error:fatal", $args -> {"message"});
return ($args -> {"title"}, return ($args -> {"title"} // "{L_FATAL_ERROR}",
$self -> message_box(title => $args -> {"title"} // "{L_FATAL_ERROR}", $self -> message_box(title => $args -> {"title"} // "{L_FATAL_ERROR}",
type => "error", type => "error",
class => "alert", class => "alert",