diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-11 19:36:37 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-11 19:36:37 -0800 |
commit | 0f8d2d4e58cd085de29c630babaf7df3a35393c3 (patch) | |
tree | 8da71ebff073f86212baf1a362063e8cdb86c4e7 /include/items.php | |
parent | 63107f5b2f5031a7cc971063b9344592cc2257e3 (diff) | |
parent | ba954b8cfeaf18477a5d7c17338efd909951744c (diff) | |
download | volse-hubzilla-0f8d2d4e58cd085de29c630babaf7df3a35393c3.tar.gz volse-hubzilla-0f8d2d4e58cd085de29c630babaf7df3a35393c3.tar.bz2 volse-hubzilla-0f8d2d4e58cd085de29c630babaf7df3a35393c3.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 42f147eec..6a6308da1 100755 --- a/include/items.php +++ b/include/items.php @@ -3467,7 +3467,7 @@ function item_expire($uid,$days) { AND item_thread_top = 1 AND resource_type = '' AND item_starred = 0 - $sql_extra $item_normal LIMIT $expire_limit ", + $sql_extra $item_normal ORDER BY created ASC LIMIT $expire_limit ", intval($uid), db_utcnow(), db_quoteinterval(intval($days).' DAY') |