From 2fbdd67eea6727df773ecd3c7fd9b02f5b73f228 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 4 Jan 2010 07:00:37 +0000 Subject: [PATCH] =?UTF-8?q?fix=20ticket=20#119.=20=E5=A4=84=E7=90=86?= =?UTF-8?q?=E8=81=94=E7=B3=BB=E4=BA=BA=E4=B8=BA=E4=B8=AA=E4=BA=BA=E6=88=96?= =?UTF-8?q?=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/data/view.phtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index d2ac41cf..8c74b4ae 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -95,7 +95,12 @@ if ($author['role']!=$r) } if ($i>0) echo ','; $i+=1; - echo ''.$author['individual'].''; + echo ''; + if (!empty($author['individual']) + echo $author['individual']; + else + echo $author['organisation']; + echo ''; if ($k+1==count($this->authors)) echo ''; endforeach; ?>