Show
Ignore:
Timestamp:
05/14/08 09:22:20 (19 months ago)
Author:
takayama
Message:

Fixed BugId:78122
* Not join to mt_permission
* Added function that fetches mt_permission

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/php/lib/block.mtcomments.php

    r2294 r2326  
    3737        if ($comment['comment_commenter_id']) { 
    3838            $commenter = $ctx->mt->db->fetch_author($comment['comment_commenter_id']); 
     39            $permission = $ctx->mt->db->fetch_permission(array('blog_id' => $comment['comment_blog_id'], 'id' => $comment['comment_commenter_id'])); 
     40            $commenter = array_merge($commenter, $permission[0]); 
    3941            $ctx->stash('commenter', $commenter); 
    4042        } else {