Hi folks,<br><br>I'm having some trouble registering events on vtiger. I register them giving a specific module by parameter, but it seem to be applying the event for every single module in the system. <br><br>Example:<br>
<br>require_once('vtlib/Vtiger/Module.php');<br><br>$modulo = Vtiger_Module::getInstance('Accounts');<br><br>$evento = Vtiger_Event::register($modulo,'vtiger.entity.beforesave','MyClass','myclass.php');<br>
<br>This event triggers everytime I save an account, but it also triggers when I save a Contact. Why vtiger is not respecting the module I gave when I create the event? Is there any workaround to this issue?<br><br>Cheers,<br>
<br>Nicolas<br><br>