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 --- identification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'identification.php') diff --git a/identification.php b/identification.php index ac546a642..434cc06c3 100644 --- a/identification.php +++ b/identification.php @@ -40,7 +40,7 @@ $redirect_to = ''; if ( !empty($_GET['redirect']) ) { $redirect_to = urldecode($_GET['redirect']); - if ( $user['is_the_guest'] ) + if ( is_a_guest() ) { array_push($errors, l10n('access_forbiden')); } -- cgit v1.2.3