From 29e89d1152d4aa16de1e90141ad5711e63b768c5 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 23 Oct 2020 11:46:43 +0000 Subject: =?UTF-8?q?=C3=83remove=20logging=C3=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/channel.php b/include/channel.php index bca09f1f3..7167d3716 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2452,7 +2452,7 @@ function get_zcard_embed($channel, $observer_hash = '', $args = array()) { intval($cover_size), intval(PHOTO_COVER) ); -hz_syslog(print_r($r,true)); + if($r) { $cover = $r[0]; $cover['href'] = z_root() . '/photo/' . $r[0]['resource_id'] . '-' . $r[0]['imgscale']; -- cgit v1.2.3