diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 7e18e208173..a5c92d07d86 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -4294,6 +4294,7 @@ abstract class CommonObject return -1; } } + else return $reshook; } /**