Commit 4f08f4b8 authored by Mario's avatar Mario Committed by Mario

use count() instead of sizeof()


(cherry picked from commit 774dd6d5)
parent 1b5175d0
Pipeline #98595 passed with stage
in 8 minutes and 45 seconds
......@@ -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