]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #6159 from JonnyTischbein/issue_photo_permisson_upload_to_album
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 17 Nov 2018 19:13:32 +0000 (14:13 -0500)
committerGitHub <noreply@github.com>
Sat, 17 Nov 2018 19:13:32 +0000 (14:13 -0500)
[frio] Fix setting permisson as post for uploaded photo in album via modal create post

mod/item.php

index 507185e7c264ee04580818ad8977dde1541e36b2..5f9173fab817474b8e0f815682184c66e3b8d376 100644 (file)
@@ -468,7 +468,7 @@ function item_post(App $a) {
 
                                $fields = ['allow_cid' => $str_contact_allow, 'allow_gid' => $str_group_allow,
                                                'deny_cid' => $str_contact_deny, 'deny_gid' => $str_group_deny];
-                               $condition = ['resource-id' => $image_uri, 'uid' => $profile_uid, 'album' => L10n::t('Wall Photos')];
+                               $condition = ['resource-id' => $image_uri, 'uid' => $profile_uid];
                                DBA::update('photo', $fields, $condition);
                        }
                }