I have written a logic hook on lead conversion that will working but now when added an another logic hook for new lead creation but it will not working.
I have try in another module in targets but this will also not working.
$hook_version = 1;
$hook_array = Array();
$hook_array['after_save'] = Array();
$hook_array['after_save'] = Array(
if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
function add_ph($bean, $event, $arguments)
please help me how can i now which logic hook is working for new creation save button or conversion save button.