aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 7167d3716..e2be4d8a8 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2379,7 +2379,7 @@ function get_zcard($channel, $observer_hash = '', $args = array()) {
intval($cover_size),
intval(PHOTO_COVER)
);
-hz_syslog();
+
if($r) {
$cover = $r[0];
$cover['href'] = z_root() . '/photo/' . $r[0]['resource_id'] . '-' . $r[0]['imgscale'];