Changeset 1804

Show
Ignore:
Timestamp:
04/08/08 08:33:48 (8 months ago)
Author:
fumiakiy
Message:

Return early if blog_id is not there. BugId:78854

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-34/lib/MT/App/Comments.pm

    r1718 r1804  
    11221122    my ( $commenter, $blog_id ) = @_; 
    11231123 
     1124    return 0 unless $blog_id; 
     1125 
    11241126    # Using MT::Author::commenter_status here, since it also 
    11251127    # takes the permission "restrictions" into account.