Commit 6537f9a1 authored by frankiejol's avatar frankiejol
Browse files

fixed when no display info available

parent 49ed4b61
......@@ -79,7 +79,10 @@ sub display($self, $user) {
}
sub display_info($self, $user) {
return decode_json($self->_data('display'));
my $display = $self->_data('display');
return {} if !$display;
return decode_json($display);
}
sub display_file_tls($self, $user) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment