2008-10-30, 10:57 PM
Does this work? In inc/class_moderation.php find:
and replace with
I don't see why we wouldn't count the first post in the amount of attachments
$query2 = $db->simple_select("attachments", "COUNT(aid) as count", "pid IN({$pidin}) AND pid != '{$masterpid}' AND visible='1'");
$attachment_count = $db->fetch_field($query2, "count");
and replace with
$query2 = $db->simple_select("attachments", "COUNT(aid) as count", "pid IN({$pidin}) AND visible='1'");
$attachment_count = $db->fetch_field($query2, "count");
I don't see why we wouldn't count the first post in the amount of attachments