fix ticket #119. 处理联系人为个人或单位

This commit is contained in:
wlx 2010-01-04 07:00:37 +00:00
parent 48ebc07711
commit 2fbdd67eea
1 changed files with 6 additions and 1 deletions

View File

@ -95,7 +95,12 @@ if ($author['role']!=$r)
} }
if ($i>0) echo ''; if ($i>0) echo '';
$i+=1; $i+=1;
echo '<strong title='.$author['organisation'].'>'.$author['individual'].'</strong>'; echo '<strong title='.$author['organisation'].'>';
if (!empty($author['individual'])
echo $author['individual'];
else
echo $author['organisation'];
echo '</strong>';
if ($k+1==count($this->authors)) echo '</li>'; if ($k+1==count($this->authors)) echo '</li>';
endforeach; endforeach;
?> ?>