Current time: 03-22-2010, 02:11 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] incorrect unapproved attachment count
08-21-2008, 10:31 PM
Post: #1
[F] incorrect unapproved attachment count
This code in /inc/functions_post.php shouldn't modify the language variables because doing so might interfere with subsequent posts...

PHP Code:
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."
Visit this user's website Find all posts by this user
08-22-2008, 01:24 AM
Post: #2
[F] incorrect unapproved attachment count
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: