Quote:
Originally Posted by TnT
no, as mentioned above, this is the correct replacement:
PHP Code:
$templater = vB_Template::create('newpost_errormessage');
$templater->register('errormessage', $errormessage);
$errorlist .= $templater->render();
|
this is the stock code from 6.0.8
PHP Code:
// Error handling
$show['errors'] = true;
foreach ($errors['message'] AS $errormessage)
{
$templater = vB_Template::create('newpost_errormessage');
$templater->register('errormessage', $errormessage);
$errorlist .= $templater->render();
}
}
}