From 3034277ab5895723f10addad06d157d54bf188fa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 4 Feb 2009 14:15:58 +0300 Subject: restore init params from DB in offline mode --- modules/backend-rpc.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'modules') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index dd6ea2694..54bf4a326 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -576,22 +576,25 @@ } $result = db_query($link, - "SELECT DISTINCT id,title,guid,link, + "SELECT DISTINCT id,title,guid,link,comments, feed_id,content,updated,unread,marked FROM ttrss_user_entries,ttrss_entries WHERE $unread_qpart $cid_qpart $date_qpart ref_id = id AND owner_uid = ".$_SESSION["uid"]." ORDER BY updated DESC LIMIT $limit OFFSET $skip"); - - while ($line = db_fetch_assoc($result)) { - print "
"; + while ($line = db_fetch_assoc($result)) { + print "
"; + } } } -- cgit v1.2.3