News:

Looking for documentation? Take a look on our wiki

Main Menu

Incorrect trigger call in user model

Started by tgv, April 13, 2012, 09:26:33 AM

Previous topic - Next topic

tgv

vm version 2.0.4

/administrator/components/com_virtuemart/models/user.php, line ~748:

$plg_datas = $dispatcher->trigger('plgVmOnUserStore', $data);

must be:

$plg_datas = $dispatcher->trigger('plgVmOnUserStore', array($data));

same on line ~786:

$plg_datas = $dispatcher->trigger('plgVmAfterUserStore', $data);

must be:

$plg_datas = $dispatcher->trigger('plgVmAfterUserStore', array($data));


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/