From 75cde97ae9eb50cb9c21ef05884c478d267271fc Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 7 Dec 2018 10:23:12 +0100 Subject: [PATCH] fixed small warming --- models/pictsharemodel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/pictsharemodel.php b/models/pictsharemodel.php index 85430da..ac806c0 100644 --- a/models/pictsharemodel.php +++ b/models/pictsharemodel.php @@ -700,7 +700,7 @@ class PictshareModel extends Model } } - if(count($hashes)>1) + if(is_array($hashes) && count($hashes)>1) { $albumlink = DOMAINPATH.PATH.implode('/',$hashes); $o.='

Album link

'.$albumlink.'';