]> git.mxchange.org Git - friendica.git/commitdiff
permissions selector showing up for guests, testbubble and smoothly
authorfriendica <info@friendica.com>
Sun, 16 Sep 2012 03:21:17 +0000 (20:21 -0700)
committerfriendica <info@friendica.com>
Sun, 16 Sep 2012 03:21:17 +0000 (20:21 -0700)
include/Photo.php
view/theme/smoothly/jot.tpl
view/theme/testbubble/jot.tpl

index 8e4eb84bdba8cc6e0f6b1445edf12bd7b3946678..00c424c64c95389fa3f487ebae758c91a6f9d011 100644 (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 {
index 5f711cf242fa06a2e3a774ad8ea84214566804a0..2f52643f0cb7941eb31bdf0cefacd4f46cd07045 100644 (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>
 
index 45d206d57dd792739943e9eee7eaae3a021c54ac..89150534c362f620c5fef2ba1311728441906004 100644 (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>