permissions selector showing up for guests, testbubble and smoothly

This commit is contained in:
friendica 2012-09-15 20:21:17 -07:00
parent ee5ed6b963
commit 2abbd1dc19
3 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -47,7 +47,7 @@
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
</div>

View file

@ -47,7 +47,7 @@
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
</div>