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/common.inc.php

    r1903 r2029  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    87// | file          : $Id$
    98// | last update   : $Date$
     
    166165// only now we can set the localized username of the guest user (and not in
    167166// include/user.inc.php)
    168 if ($user['is_the_guest'])
     167if (is_a_guest())
    169168{
    170169  $user['username'] = $lang['guest'];
Note: See TracChangeset for help on using the changeset viewer.