do not deal with email when email is null
This commit is contained in:
parent
2ed4e31227
commit
bb31084f35
|
@ -121,12 +121,15 @@ if ($author['role']!=$r)
|
||||||
}
|
}
|
||||||
if ($i>0) echo ',';
|
if ($i>0) echo ',';
|
||||||
$i+=1;
|
$i+=1;
|
||||||
echo '<a href="mailto:'.$author['email'].'"><strong title="'.$author['organisation'].'">';
|
if (!empty($author['email']))
|
||||||
|
echo '<a href="mailto:'.$author['email'].'">';
|
||||||
|
echo '<strong title="'.$author['organisation'].'">';
|
||||||
if (!empty($author['individual']))
|
if (!empty($author['individual']))
|
||||||
echo $author['individual'];
|
echo $author['individual'];
|
||||||
else
|
else
|
||||||
echo $author['organisation'];
|
echo $author['organisation'];
|
||||||
echo '</strong></a>';
|
echo '</strong>';
|
||||||
|
if (!empty($author['email'])) echo '</a>';
|
||||||
if ($k+1==count($this->authors)) echo '</li>';
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue