aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Linkinfo.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-19 11:08:28 +0100
committerMario Vavti <mario@mariovavti.com>2018-12-19 11:08:28 +0100
commit774dd6d5e333ac1988f1f3d830627cd7af68908e (patch)
tree3ab1f290f535af32787d72e7941a2abbb0cd5492 /Zotlabs/Module/Linkinfo.php
parent339c9cceeca1e9b54aa320aea48d164d1cc22e36 (diff)
downloadvolse-hubzilla-774dd6d5e333ac1988f1f3d830627cd7af68908e.tar.gz
volse-hubzilla-774dd6d5e333ac1988f1f3d830627cd7af68908e.tar.bz2
volse-hubzilla-774dd6d5e333ac1988f1f3d830627cd7af68908e.zip
use count() instead of sizeof()
Diffstat (limited to 'Zotlabs/Module/Linkinfo.php')
-rw-r--r--Zotlabs/Module/Linkinfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Linkinfo.php b/Zotlabs/Module/Linkinfo.php
index 8b7defa39..32b4c0281 100644
--- a/Zotlabs/Module/Linkinfo.php
+++ b/Zotlabs/Module/Linkinfo.php
@@ -139,7 +139,7 @@ class Linkinfo extends \Zotlabs\Web\Controller {
$image = "";
- if(is_array($siteinfo["images"]) && (sizeof($siteinfo["images"]) > 0)){
+ if(is_array($siteinfo["images"]) && count($siteinfo["images"])){
/* Execute below code only if image is present in siteinfo */
$total_images = 0;