Changeset 1364 for plugins

Show
Ignore:
Timestamp:
11/27/08 02:49:12 (6 weeks ago)
Author:
MattRead
Message:

mollom: update for User stuff

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/mollom/trunk/mollom.plugin.php

    r1323 r1364  
    292292        $author_url = $comment->url ? $comment->url : null; 
    293293        $author_email = $comment->email ? $comment->email : null; 
    294         $author_id = $user instanceof User ? $user->id : null; 
     294        $author_id = $user->loggedin ? $user->id : null; 
    295295        $author_open_id = ( $user instanceof User && $user->info->openid_url ) ? $user->info->openid_url : null; 
    296296        $post_body = $comment->content;