Fix bug (wrong order in get_feeds_id)

This commit is contained in:
Dysosmus 2013-05-18 21:47:22 +02:00
parent 6a21a5ee9e
commit 3c95af8a43

View File

@ -164,7 +164,7 @@ function update_feed($feed_id)
function get_feeds_id($limit = LIMIT_ALL) function get_feeds_id($limit = LIMIT_ALL)
{ {
$table_feeds = \PicoTools\singleton('db')->table('feeds') $table_feeds = \PicoTools\singleton('db')->table('feeds')
->desc('last_checked'); ->asc('last_checked');
if($limit !== LIMIT_ALL) { if($limit !== LIMIT_ALL) {