make editwebpage use status_editor() and fix storing of layout on webpage creation
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user