commit
5037de49c4
@ -860,7 +860,7 @@ abstract class CommonObject
|
|||||||
if (!empty($conf->socialnetworks->enabled)) {
|
if (!empty($conf->socialnetworks->enabled)) {
|
||||||
$outsocialnetwork = '';
|
$outsocialnetwork = '';
|
||||||
|
|
||||||
if (is_array($this->socialnetworks) && count($this->socialnetworks) > 0) {
|
if (!empty($this->socialnetworks) && is_countable($this->socialnetworks) && count($this->socialnetworks) > 0) {
|
||||||
$socialnetworksdict = getArrayOfSocialNetworks();
|
$socialnetworksdict = getArrayOfSocialNetworks();
|
||||||
foreach ($this->socialnetworks as $key => $value) {
|
foreach ($this->socialnetworks as $key => $value) {
|
||||||
if ($value) {
|
if ($value) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user