Skip to content
Snippets Groups Projects
Commit 54bb0629 authored by Síle Ekaterin Liszka's avatar Síle Ekaterin Liszka
Browse files

Chessa::URI::Default::tcard: work on $published and $modified

parent a7e0f9bd
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,11 @@ sub tcard($self, $t, $authority) {
if (defined($author)) {
$out .= ' ' . $self->{msg}('Author', $author);
}
if ($published ne '') {
if (defined($published)) {
$out .= ' ' . $self->{msg}('Published', $published);
if (defined($modified) && ($published ne $modified)) {
$out . ' (M: ' . $modified . ')';
}
}
my $size = 420 - length($out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment