Commit 774dd6d5 authored by Mario's avatar Mario

use count() instead of sizeof()

parent 339c9cce
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment