diff --git a/ezpublish_legacy/ezworkflowenginebridge/eventtypes/event/ezworkflowenginehook/ezworkflowenginehooktype.php b/ezpublish_legacy/ezworkflowenginebridge/eventtypes/event/ezworkflowenginehook/ezworkflowenginehooktype.php index 59d5b7c..5437d9d 100644 --- a/ezpublish_legacy/ezworkflowenginebridge/eventtypes/event/ezworkflowenginehook/ezworkflowenginehooktype.php +++ b/ezpublish_legacy/ezworkflowenginebridge/eventtypes/event/ezworkflowenginehook/ezworkflowenginehooktype.php @@ -38,7 +38,8 @@ public function __construct() public function execute( $process, $event ) { $parameters = $process->attribute( 'parameter_list' ); - $triggerName = reset( explode( '_', $parameters['trigger_name'], 2 ) ); + $tmp = explode( '_', $parameters['trigger_name'], 2 ); + $triggerName = reset( $tmp ); $operationName = $parameters['module_name'] . '_' . $parameters['module_function']; $signalName = $this->getsignalName( $triggerName, $operationName );