VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: tgv on April 13, 2012, 09:26:33 AM

Title: Incorrect trigger call in user model
Post by: tgv on April 13, 2012, 09:26:33 AM
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));

Title: Re: Incorrect trigger call in user model
Post by: Milbo on April 13, 2012, 10:04:21 AM
thx