diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-14 22:14:19 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-14 22:14:19 +0200 |
commit | b4e83b65375e62259671749c089d9cd7a2a2967a (patch) | |
tree | 3c4b8e18b2dc439530f9515147af4424e1726be1 /include/photos.php | |
parent | d616099de6984ad8d45e3b8908367bf5a0b8ab31 (diff) | |
download | volse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.tar.gz volse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.tar.bz2 volse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.zip |
allow photo-items to appear full width if large photos feature is enabled. in prepare_body() split off mentions, tags, categories folders and attachments from body for easier theming. some other little fixes.
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php index 49aab6865..c0917ce28 100644 --- a/include/photos.php +++ b/include/photos.php @@ -281,7 +281,7 @@ function photo_upload($channel, $observer, $args) { } } else { - $title = ''; + $title = $args['filename'] ? $args['filename'] : ''; $mid = item_message_id(); $arr = array(); |