Show
Ignore:
Timestamp:
06/06/07 00:01:15 (6 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)

Files:
1 modified

Legend:

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

    r2027 r2029  
    5959 
    6060  // we do here only BASIC spam check (plugins can do more) 
    61   if ( !$user['is_the_guest'] ) 
     61  if ( !is_a_guest() ) 
    6262    return $action; 
    6363 
     
    119119  } 
    120120 
    121   if ( $user['is_the_guest'] ) 
     121  // display author field if the user status is guest or generic 
     122  if (!is_classic_user()) 
    122123  { 
    123124    if ( empty($comm['author']) )