mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
unset uuid for updates
This commit is contained in:
parent
5addb5e344
commit
117c0aac84
1 changed files with 2 additions and 1 deletions
|
@ -2075,6 +2075,7 @@ function item_store_update($arr, $allow_exec = false, $deliver = true, $linkid =
|
|||
unset($arr['id']);
|
||||
unset($arr['uid']);
|
||||
unset($arr['aid']);
|
||||
unset($arr['uuid']);
|
||||
unset($arr['mid']);
|
||||
unset($arr['parent']);
|
||||
unset($arr['parent_mid']);
|
||||
|
@ -2103,7 +2104,7 @@ function item_store_update($arr, $allow_exec = false, $deliver = true, $linkid =
|
|||
$arr['route'] = ((array_key_exists('route',$arr)) ? trim($arr['route']) : $orig[0]['route']);
|
||||
|
||||
$arr['location'] = ((x($arr,'location')) ? notags(trim($arr['location'])) : $orig[0]['location']);
|
||||
$arr['uuid'] = ((x($arr,'uuid')) ? notags(trim($arr['uuid'])) : $orig[0]['uuid']);
|
||||
$arr['uuid'] = ((x($arr,'uuid')) ? notags(trim($arr['uuid'])) : $orig[0]['uuid']);
|
||||
$arr['coord'] = ((x($arr,'coord')) ? notags(trim($arr['coord'])) : $orig[0]['coord']);
|
||||
$arr['verb'] = ((x($arr,'verb')) ? notags(trim($arr['verb'])) : $orig[0]['verb']);
|
||||
$arr['obj_type'] = ((x($arr,'obj_type')) ? notags(trim($arr['obj_type'])) : $orig[0]['obj_type']);
|
||||
|
|
Loading…
Reference in a new issue