From bb31084f357cfe0f21cb82caca8a559d6ea9fdcb Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 28 Jun 2010 01:04:12 +0000 Subject: [PATCH] do not deal with email when email is null --- application/default/views/scripts/water/view.phtml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index 0a4b4e68..ac62991f 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -121,12 +121,15 @@ if ($author['role']!=$r) } if ($i>0) echo ','; $i+=1; - echo ''; + if (!empty($author['email'])) + echo ''; + echo ''; if (!empty($author['individual'])) echo $author['individual']; else echo $author['organisation']; - echo ''; + echo ''; + if (!empty($author['email'])) echo ''; if ($k+1==count($this->authors)) echo ''; endforeach; ?>