aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-16 15:33:08 -0700
committerfriendica <info@friendica.com>2015-03-16 15:33:08 -0700
commit52374bcd6e5726828219bed7a8c04f5456b167d5 (patch)
treed085bfc5976fb22c22c4520b3ae66aa8966385f5 /include
parent4212a1f589862a9129d6856cb71a5911b40b7496 (diff)
downloadvolse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.tar.gz
volse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.tar.bz2
volse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.zip
phase one of the great file storage unification - use one button for uploads of any type (image or attachment). We'll sort out which one it is and deal with it appropriately.
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0e35202fa..a85d582ce 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1172,7 +1172,7 @@ function status_editor($a, $x, $popup = false) {
'$pagetitle' => (x($x,'pagetitle') ? $x['pagetitle'] : ''),
'$id_select' => $id_select,
'$id_seltext' => t('Post as'),
- '$writephoto' => perm_is_allowed($x['profile_uid'], get_observer_hash(), 'post_photos'),
+ '$writefiles' => (perm_is_allowed($x['profile_uid'], get_observer_hash(), 'post_photos') || perm_is_allowed($x['profile_uid'], get_observer_hash(), 'write_storage')),
'$bold' => t('Bold'),
'$italic' => t('Italic'),
'$underline' => t('Underline'),