aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-02 19:39:47 -0800
committerredmatrix <git@macgirvin.com>2016-02-02 19:39:47 -0800
commita7ed50ecd4b4defbc1d5fdf0bb4fd7d65d08a0fd (patch)
tree7f72feb65e8f8790d6d80f631d1e608bfed1dd48 /include
parent06dcaaa821d6229568709e53d104233081c4d3e9 (diff)
downloadvolse-hubzilla-a7ed50ecd4b4defbc1d5fdf0bb4fd7d65d08a0fd.tar.gz
volse-hubzilla-a7ed50ecd4b4defbc1d5fdf0bb4fd7d65d08a0fd.tar.bz2
volse-hubzilla-a7ed50ecd4b4defbc1d5fdf0bb4fd7d65d08a0fd.zip
more zcard tweaks
Diffstat (limited to 'include')
-rw-r--r--include/identity.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index 76ada577e..4f58d7dc5 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -1829,6 +1829,10 @@ function get_zcard($channel,$observer_hash = '',$args = array()) {
$cover = $r[0];
$cover['href'] = z_root() . '/photo/' . $r[0]['resource_id'] . '-' . $r[0]['scale'];
}
+ else {
+ // @fixme remove this when we have a fallback cover photo and use that instead.
+ return;
+ }
$o .= replace_macros(get_markup_template('zcard.tpl'),array(
'$scale' => $scale,