2008-08-21, 10:31 PM
This code in /inc/functions_post.php shouldn't modify the language variables because doing so might interfere with subsequent posts...
For example, if post #1 in a thread has 1 unapproved attachment and post #2 has 5, they will both say "1 unapproved attachment."
if($validationcount == 1)
{
$lang->postbit_unapproved_attachments = $lang->postbit_unapproved_attachment;
}
else
{
$lang->postbit_unapproved_attachments = $lang->sprintf($lang->postbit_unapproved_attachments, $validationcount);
}
For example, if post #1 in a thread has 1 unapproved attachment and post #2 has 5, they will both say "1 unapproved attachment."