2013-08-13, 03:51 AM
Can PHP expert check if this is the ultimate fix
Originally posted:
http://dev.mybb.com/issues/2162
Can you tell me how to add this code into forumdisplay.php
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