forked from Wavyzz/dolibarr
fix php8 warnings
This commit is contained in:
@@ -968,7 +968,7 @@ abstract class CommonObject
|
||||
$outdone++;
|
||||
}
|
||||
|
||||
if (!empty($conf->socialnetworks->enabled)) {
|
||||
if (isModEnabled('socialnetworks')) {
|
||||
$outsocialnetwork = '';
|
||||
|
||||
if (!empty($this->socialnetworks) && is_array($this->socialnetworks) && count($this->socialnetworks) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user