fix for reshook when several module use the hook but only on is concerned
This commit is contained in:
parent
25078b292d
commit
75f540c30c
@ -1810,7 +1810,7 @@ class Product extends CommonObject
|
||||
// Note that $action and $object may have been modified by some hooks
|
||||
global $action;
|
||||
$reshook = $hookmanager->executeHooks('getSellPrice', $parameters, $this, $action);
|
||||
if ( ! empty($reshook)) {
|
||||
if ( ! empty($hookmanager->resArray)) {
|
||||
return $hookmanager->resArray;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user