Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Merge posts - attachment(s) problem [R] [C-Michael83]
#5
Does this work? In inc/class_moderation.php find:

$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


Messages In This Thread
RE: Merge posts - attachment(s) problem [R] - by Ryan Gordon - 2008-10-30, 10:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)