Skip to content

Commit

Permalink
Fixed undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bardo committed Dec 19, 2013
1 parent 2a344cf commit 9be891c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public static function callback_transition_comment_status( $new_status, $old_sta
self::log(
__( '%s\'s comment %s', 'stream' ),
compact( 'user_name', 'new_status', 'old_status', 'post_title', 'post_id', 'user_id' ),
$comment_id,
$post_id,

This comment has been minimized.

Copy link
@frankiejarrett

frankiejarrett Dec 19, 2013

Contributor

@jonathanbardo this should actually be $comment->comment_id

This comment has been minimized.

Copy link
@jonathanbardo

jonathanbardo Dec 19, 2013

Contributor

Oh right... makes more sense.

array( 'comments' => $new_status )
);
}
Expand Down

0 comments on commit 9be891c

Please sign in to comment.