This commit is contained in:
Alexandre SPANGARO 2021-11-02 04:50:29 +01:00
parent 57a479e328
commit f73f3cd55f

View File

@ -295,7 +295,7 @@ function societe_prepare_head(Societe $object)
// Notifications // Notifications
if (!empty($conf->notification->enabled)) { if (!empty($conf->notification->enabled)) {
$nbNotif = 0; $nbNotif = 0;
// Enable caching of thirdrparty count notifications // Enable caching of thirdparty count notifications
require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php';
$cachekey = 'count_notifications_thirdparty_'.$object->id; $cachekey = 'count_notifications_thirdparty_'.$object->id;
$dataretrieved = dol_getcache($cachekey); $dataretrieved = dol_getcache($cachekey);