I'm not finding this bit of code in newreply.php
PHP Code:
// sort attachement
if ($permissions[canpostattachment] and trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") {
$attachmentid=acceptupload($foruminfo[moderateattach]);
} else {
$attachmentid=0;
}
Instead, I find this:
PHP Code:
// sort attachement
if (trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") {
$attachmentid=acceptupload($foruminfo[moderateattach]);
} else {
$attachmentid=0;
}
And in newthread.php Ican't find this:
PHP Code:
// sort attachement
if ($permissions[canpostattachment] and trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") {
$attachmentid=acceptupload($foruminfo[moderateattach]);
if (!$foruminfo[moderateattach]) {
$attachcount = 1;
} else {
$attachcount = 0;
}
} else {
$attachmentid=0;
$attachcount=0;
}
Instead, I find this:
PHP Code:
// sort attachement
if (trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") {
$attachmentid=acceptupload($foruminfo[moderateattach]);
if (!$foruminfo[moderateattach]) {
$attachcount = 1;
} else {
$attachcount = 0;
}
} else {
$attachmentid=0;
$attachcount=0;
}