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 /mod | |
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 'mod')
-rw-r--r-- | mod/photos.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index cd293b39d..64e96c52c 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -330,13 +330,14 @@ function photos_post(&$a) { // make sure the linked item has the same permissions as the photo regardless of any other changes - $x = q("update item set allow_cid = '%s', allow_gid = '%s', deny_cid = '%s', deny_gid = '%s', item_private = %d + $x = q("update item set allow_cid = '%s', allow_gid = '%s', deny_cid = '%s', deny_gid = '%s', item_private = %d, title = '%s' where id = %d", dbesc($perm['allow_cid']), dbesc($perm['allow_gid']), dbesc($perm['deny_cid']), dbesc($perm['deny_gid']), intval($acl->is_private()), + dbesc($desc), intval($item_id) ); |