From 182fb00f8f7873d220ab8502a31357f9245fbf8f Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 5 Jun 2007 22:01:15 +0000 Subject: Resolved issue 0000697: with generic user a author name is necessary to comment picture. + Change way to determinate if user is a guest (use functions like is_admin) git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_tail.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/page_tail.php') diff --git a/include/page_tail.php b/include/page_tail.php index 2a03cbd86..0fda300d5 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -4,8 +4,7 @@ // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) -// | file : $RCSfile$ +// | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ // | revision : $Revision$ @@ -38,7 +37,7 @@ $template->assign_vars( //--------------------------------------------------------------------- contact -if (!$user['is_the_guest']) +if (!is_a_guest()) { $template->assign_block_vars( 'contact', -- cgit v1.2.3