diff options
author | Friendika <info@friendika.com> | 2011-06-23 17:56:59 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-23 17:56:59 -0700 |
commit | 38cf37d3c3a4bc9873aa12eed5167b356282385f (patch) | |
tree | 346398bcfbb748aa1aa3f0658af020ddb487d946 /include | |
parent | 2bc4e24da22d7a75bbdbae18e0c64575ff7fe858 (diff) | |
download | volse-hubzilla-38cf37d3c3a4bc9873aa12eed5167b356282385f.tar.gz volse-hubzilla-38cf37d3c3a4bc9873aa12eed5167b356282385f.tar.bz2 volse-hubzilla-38cf37d3c3a4bc9873aa12eed5167b356282385f.zip |
new item view, sort by received date - not posted date.
Diffstat (limited to 'include')
-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 3901927fc..2a934af3a 100644 --- a/include/items.php +++ b/include/items.php @@ -669,6 +669,7 @@ function item_store($arr,$force_parent = false) { $arr['owner-avatar'] = ((x($arr,'owner-avatar')) ? notags(trim($arr['owner-avatar'])) : ''); $arr['created'] = ((x($arr,'created') !== false) ? datetime_convert('UTC','UTC',$arr['created']) : datetime_convert()); $arr['edited'] = ((x($arr,'edited') !== false) ? datetime_convert('UTC','UTC',$arr['edited']) : datetime_convert()); + $arr['received'] = datetime_convert(); $arr['changed'] = datetime_convert(); $arr['title'] = ((x($arr,'title')) ? notags(trim($arr['title'])) : ''); $arr['location'] = ((x($arr,'location')) ? notags(trim($arr['location'])) : ''); |