diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-12-19 11:08:28 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-12-19 11:08:28 +0100 |
commit | 774dd6d5e333ac1988f1f3d830627cd7af68908e (patch) | |
tree | 3ab1f290f535af32787d72e7941a2abbb0cd5492 /Zotlabs/Module/Linkinfo.php | |
parent | 339c9cceeca1e9b54aa320aea48d164d1cc22e36 (diff) | |
download | volse-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.php | 2 |
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; |