Changeset 2481
- Timestamp:
- 06/02/08 10:28:02 (21 months ago)
- Files:
-
- 1 modified
-
branches/release-39/php/lib/block.mtcomments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-39/php/lib/block.mtcomments.php
r2378 r2481 37 37 if ($comment['comment_commenter_id']) { 38 38 $commenter = $ctx->mt->db->fetch_author($comment['comment_commenter_id']); 39 if (empty($commenter)) { 40 $ctx->__stash['commenter'] = null; 41 } 39 42 $permission = $ctx->mt->db->fetch_permission(array('blog_id' => $comment['comment_blog_id'], 'id' => $comment['comment_commenter_id'])); 40 if ( isset($permission) && count($permission) > 0 ) { 41 $commenter = array($commenter); 43 if (!empty($permission)) { 42 44 $commenter = array_merge($commenter, $permission[0]); 43 45 }
