From 995094517506b5565bbbc22aff9d25e7a0ae08d7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 May 2008 09:03:53 +0100 Subject: loading progress bar for main window (2) --- functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 698efeb20..a2d1750c4 100644 --- a/functions.php +++ b/functions.php @@ -4173,7 +4173,7 @@ $age_qpart = getMaxAgeSubquery(); - $result = db_query($link, "SELECT ttrss_feeds.*, + $query = "SELECT ttrss_feeds.*, ".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated_noms, (SELECT COUNT(id) FROM ttrss_entries,ttrss_user_entries WHERE feed_id = ttrss_feeds.id AND unread = true @@ -4188,7 +4188,9 @@ WHERE ttrss_feeds.hidden = false AND ttrss_feeds.owner_uid = '$owner_uid' AND parent_feed IS NULL - ORDER BY $order_by_qpart"); + ORDER BY $order_by_qpart"; + + $result = db_query($link, $query); $actid = $_GET["actid"]; -- cgit v1.2.3-54-g00ecf