Fix: $hookmanager is a global object
Fix: wrong EOL
Merge remote-tracking branch 'dolibarr/develop' into develop