aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
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'];