diff options
author | Friendika <info@friendika.com> | 2011-10-17 14:52:03 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-17 14:52:03 -0700 |
commit | 278433eac75639052686f70e98621466d6c44df3 (patch) | |
tree | ac9d4dbe9d6a64636143d9a6eb8e591245129143 /include/items.php | |
parent | b820dfa31fd0fead82f238f18c965dcdbf5f672d (diff) | |
download | volse-hubzilla-278433eac75639052686f70e98621466d6c44df3.tar.gz volse-hubzilla-278433eac75639052686f70e98621466d6c44df3.tar.bz2 volse-hubzilla-278433eac75639052686f70e98621466d6c44df3.zip |
origin flag handling, and bug #137 - provide timezone conversion for events posted across to Diaspora
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 0c3c8b1d7..136dee90f 100644 --- a/include/items.php +++ b/include/items.php @@ -730,6 +730,7 @@ function item_store($arr,$force_parent = false) { $arr['tag'] = ((x($arr,'tag')) ? notags(trim($arr['tag'])) : ''); $arr['attach'] = ((x($arr,'attach')) ? notags(trim($arr['attach'])) : ''); $arr['app'] = ((x($arr,'app')) ? notags(trim($arr['app'])) : ''); + $arr['origin'] = ((x($arr,'origin')) ? intval($arr['origin']) : 0 ); $arr['guid'] = ((x($arr,'guid')) ? notags(trim($arr['guid'])) : get_guid()); if($arr['parent-uri'] === $arr['uri']) { |