From: friendica Date: Sun, 16 Sep 2012 03:21:17 +0000 (-0700) Subject: permissions selector showing up for guests, testbubble and smoothly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2abbd1dc19680fcfc00c841b6a73a97a297055b9;p=friendica.git permissions selector showing up for guests, testbubble and smoothly --- diff --git a/include/Photo.php b/include/Photo.php index 8e4eb84bdb..00c424c64c 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -663,7 +663,7 @@ function import_profile_photo($photo,$uid,$cid) { intval($uid), intval($cid) ); - if(count($r)) { + if(count($r) && strlen($r[0]['resource-id'])) { $hash = $r[0]['resource-id']; } else { diff --git a/view/theme/smoothly/jot.tpl b/view/theme/smoothly/jot.tpl index 5f711cf242..2f52643f0c 100644 --- a/view/theme/smoothly/jot.tpl +++ b/view/theme/smoothly/jot.tpl @@ -47,7 +47,7 @@