Quote:
Originally Posted by Convergys
It shows the private message as if the hack was not installed.. IE... there is nothing indicating an attachment was sent...
I can send you my private.php if you want.
|
Erase this lines:
if ($pm['attach'])
{
and the "}" at the end, ej.
Code:
$pm['attachments'] = array();
$attachments = $DB_site->query("
SELECT filename, filesize, visible, attachmentid, counter, postid, IF(thumbnail = '', 0, 1) AS hasthumbnail, LENGTH(thumbnail) AS thumbnailsize
FROM " . TABLE_PREFIX . "attachment
WHERE private='".$pm['pmtextid']."'
");
while ($attachment = $DB_site->fetch_array($attachments))
{
$attachment['kilobytes'] = vb_number_format($attachment['filesize'] / 1024, 1);
$pm['attachments']["$attachment[attachmentid]"] = $attachment;
}
and see if it does the trick. That check is there for some code optimization and normally it isn't a problem.