Changeset 1508

Show
Ignore:
Timestamp:
01/05/08 15:55:31 (1 year ago)
Author:
ewout
Message:

Repair a typo that prevented community moderators deleting posts made in their communities

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/blog/lib/weblogs_actions.php

    r1498 r1508  
    132132        if (logged_on && !empty($id)) { 
    133133            if ($post_info = get_record('weblog_posts','ident',$id)) { 
    134               if (run("permissions:check", array("weblog:edit", $post_info->owner),$post_info->weblog)) { 
     134              if (run("permissions:check", array("weblog:edit", $post_info->owner,$post_info->weblog))) { 
    135135                    $post_info = plugin_hook("weblog_post","delete",$post_info); 
    136136                    if (!empty($post_info)) {