]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Improve Console/Config display for array values
[friendica.git] / mod / photos.php
index d969fd32719c357eca92652b4d8e19a00523fa8b..7c5f539d067783b286c5226c7c9085b7acfd62e0 100644 (file)
@@ -101,6 +101,8 @@ function photos_init(App $a) {
 
                if (local_user() && $a->data['user']['uid'] == local_user()) {
                        $can_post = true;
+               } else {
+                       $can_post = false;
                }
 
                if ($ret['success']) {
@@ -950,6 +952,7 @@ function photos_content(App $a)
        $contact        = null;
        $remote_contact = false;
        $contact_id     = 0;
+       $edit           = false;
 
        $owner_uid = $a->data['user']['uid'];