after relationship add logic hooks issue selecting multiple data

SuiteCRM Versi贸n 7.8.3
Sugar Versi贸n 6.5.24 (Compilation 509)
PHP 5.6
Red Hat Linux Enterprise Linux Server 6.5

Hi Im having the following issue:

When I try to use an after_relationship_add logichooks, suiteCRM doesnt relate more than 1 selection (I鈥檓 selecting multiple data), it only selects the first selected data on the list. These issue only appears when creating an after_relationship_add logichook (even when the calling function its empty).

Please, how can I resolve these issue? Thanks

Here my logic_hooks.php code

<?php // Do not store anything in this file that is not part of the array or the hook version. This file will // be automatically rebuilt in the future. $hook_version = 1; $hook_array = Array(); // position, file, function $hook_array['after_relationship_add'] = Array(); $hook_array['after_relationship_add'][] = Array( 1, 'after_relationship_add', 'scripts/portal_riesgo/portal_riesgo.php', 'portal_riesgo_class', 'proceso_proyecto_after_relationship_add'); ?>

Here my portal_riesgo.php code

<?php class portal_riesgo_class { proceso_proyecto_after_relationship_add($bean, $event, $arguments) { //Empty function exit; } } ?>