forked from Wavyzz/dolibarr
* Reset the global `$extrafields` when a cron job needs to run in a different entity than the previous one. If not, extrafield definitions won't be reloaded, causing potentially severe bugs * FIX (phan) case of class ExtraFields --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>