aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-10 14:45:18 -0700
committerfriendica <info@friendica.com>2014-10-10 14:45:18 -0700
commitb5f91d7b4016831f3b62c77450c365d872bba169 (patch)
treed9086192dda4dae7179fa4929e837add14400207 /include/items.php
parent82d4d156ead2c85fe2c4af9da49837d53ebb3438 (diff)
downloadvolse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.tar.gz
volse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.tar.bz2
volse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.zip
missing source route after edit
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index e64e91dc3..c4ae948b8 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2415,7 +2415,7 @@ function item_store_update($arr,$allow_exec = false) {
$arr['commented'] = $orig[0]['commented'];
$arr['received'] = datetime_convert();
$arr['changed'] = datetime_convert();
-
+ $arr['route'] = ((array_key_exists('route',$arr)) ? trim($arr['route']) : $orig[0]['route']);
$arr['diaspora_meta'] = ((x($arr,'diaspora_meta')) ? $arr['diaspora_meta'] : $orig[0]['diaspora_meta']);
$arr['location'] = ((x($arr,'location')) ? notags(trim($arr['location'])) : $orig[0]['location']);
$arr['coord'] = ((x($arr,'coord')) ? notags(trim($arr['coord'])) : $orig[0]['coord']);