Quote:
Originally Posted by sinisterpain
Code:
$post['userawards'] = '';
$post['showuserawards'] = false;
if ($vbulletin->options['aw_postbit'])
{
if (is_array($userawardscache[$post[userid]]))
{
$aw_i = 0;
$post['num_awards'] = count($userawardscache[$post[userid]]);
foreach($userawardscache[$post['userid']] AS $award_id => $award)
{
$aw_i++;
if ($aw_i <= $vbulletin->options['aw_display_limit'])
{
eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
}
}
$post['showuserawards'] = true;
}
}
|
I'm still getting the following error:
Quote:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
|