
12-07-2009, 03:23 PM
|
|
|
Join Date: Jul 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by gabrielt
Hello
There is a HUGE bug on this mod. If vMail is used to confirm e-mail changes, this error will show up:
Fatal error: Call to undefined method class_vMail::Cleaning() in profile.php(182) : eval()'d code on line 18
The reason this error shows up is that the script calls to a function called Cleaning that DOES NOT EXIST.
To fix this, you will have to edit the plugin called "vMail - Functions" and add the following function:
function Cleaning($type,$code) {
global $vbulletin;
switch($type)
{
case 'free':
$vbulletin->db->query_write("DELETE FROM ". TABLE_PREFIX . "nlp_vmail WHERE code = '".$code."'");
}
}
I hope this helps other users in the same situation.
Cheers,
Gabriel.
|
Thank you for this fix!
It saved a lot of trouble for me.
|