summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-19 09:03:53 +0100
committerAndrew Dolgov <[email protected]>2008-05-19 09:03:53 +0100
commit995094517506b5565bbbc22aff9d25e7a0ae08d7 (patch)
treec1b94338e4e070a12ebf8fa7aa928ab81548d4b5 /functions.php
parent730dbf19107d42e1a6568ac7057375b9a2e58e9e (diff)
loading progress bar for main window (2)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 4 insertions, 2 deletions
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"];