small improvements to profile like activity

This commit is contained in:
redmatrix
2016-02-25 16:21:38 -08:00
parent ba2ede0a8f
commit dc8c7a2d2e
2 changed files with 10 additions and 4 deletions

View File

@@ -1832,8 +1832,7 @@ function get_zcard($channel,$observer_hash = '',$args = array()) {
$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;
$cover = $pphoto;
}
$o .= replace_macros(get_markup_template('zcard.tpl'),array(