aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-05-09 11:56:42 +0200
committerMario Vavti <mario@mariovavti.com>2016-05-09 11:56:42 +0200
commit24c1dc528dd981fc73baab8dc47840439e81f3b7 (patch)
treedcb77ed174348aef64c9123d49cb59dc77e5032c /include/items.php
parentc8f686b8a553586a65e5bb4ceda5d1016d1c15be (diff)
downloadvolse-hubzilla-24c1dc528dd981fc73baab8dc47840439e81f3b7.tar.gz
volse-hubzilla-24c1dc528dd981fc73baab8dc47840439e81f3b7.tar.bz2
volse-hubzilla-24c1dc528dd981fc73baab8dc47840439e81f3b7.zip
make editwebpage use status_editor() and fix storing of layout on webpage creation
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index b3c9403e0..bef04237b 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2223,7 +2223,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
dbesc($arr['layout_mid']),
intval($arr['uid'])
);
- if((! $l) || (! ($l[0]['item_type'] != ITEM_TYPE_PDL)))
+ if((! $l) || ($l[0]['item_type'] != ITEM_TYPE_PDL))
unset($arr['layout_mid']);
}
@@ -5664,4 +5664,4 @@ function sync_an_item($channel_id,$item_id) {
);
build_sync_packet($channel_d,array('item' => array(encode_item($sync_item[0],true)),'item_id' => $rid));
}
-} \ No newline at end of file
+}