MyBB Community Forums

Full Version: Bug Report - On a fresh install
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can PHP expert check if this is the ultimate fix
Originally posted:
http://dev.mybb.com/issues/2162

while($rating = $db->fetch_array($query))
{
            $threadcache[$rating['tid']]['rated'] = 1;
            //fix by Can
            if ($threadcache[$rating['tid']])
            {
                $threadcache[$rating['tid']]['rated'] = 1;
            }
         }
     }
 }

Can you tell me how to add this code into forumdisplay.php
Why don't you use the fix made to the MyBB repo?
(2013-08-13, 07:20 AM)StefanT Wrote: [ -> ]Why don't you use the fix made to the MyBB repo?

The code I have posted here is from the website where your report Mybb bugs! However I have tested this code and it doesn't work!
After a private conversation with Marcus123, the problem has been solved. The solution provided on the bug report was the patch which we used.
Yes I conform the patch has solved the problem!
Pages: 1 2