From f7601756e99fcedb062d1f7ac3e53431ea72642d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 20 Oct 2015 09:36:15 +0200 Subject: create photo object if feature large photos is enabled and display those slightly different --- mod/editpost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/editpost.php') diff --git a/mod/editpost.php b/mod/editpost.php index d4dc35ef8..1bee16ee7 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -129,7 +129,7 @@ function editpost_content(&$a) { '$consensus' => intval($itm[0]['item_consensus']), '$wait' => t('Please wait'), '$permset' => t('Permission settings'), - '$ptyp' => $itm[0]['type'], + '$ptyp' => $itm[0]['obj_type'], '$content' => undo_post_tagging($itm[0]['body']), '$post_id' => $post_id, '$parent' => (($itm[0]['parent'] != $itm[0]['id']) ? $itm[0]['parent'] : ''), -- cgit v1.2.3 From c5aedb14a962290140b1f2b7cc1d2b62296c7624 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 29 Oct 2015 19:46:21 +0100 Subject: fix #83 --- mod/editpost.php | 1 - 1 file changed, 1 deletion(-) (limited to 'mod/editpost.php') diff --git a/mod/editpost.php b/mod/editpost.php index 1bee16ee7..2f999858f 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -90,7 +90,6 @@ function editpost_content(&$a) { $category .= ', '; $category .= $cat['term']; } - } if($itm[0]['attach']) { -- cgit v1.2.3