Ignore:
Timestamp:
Jun 6, 2007, 12:01:15 AM (17 years ago)
Author:
rub
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r1900 r2029  
    575575      .urlencode(urlencode($_SERVER['REQUEST_URI']));
    576576
    577   if ( isset($user['is_the_guest']) and !$user['is_the_guest'] )
     577  if ( isset($user) and !is_a_guest() )
    578578  {
    579579    echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
Note: See TracChangeset for help on using the changeset viewer.