1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 02:11:29 +00:00

more work on PGSQL 8.3 compatibility (refs #201)

This commit is contained in:
Andrew Dolgov
2008-04-28 11:08:44 +01:00
parent e89aed7bb5
commit 2ac6b765ab
3 changed files with 5 additions and 5 deletions

View File

@@ -44,8 +44,8 @@
$result = db_query($link, "SELECT
ttrss_entries.title,
content,link,
substring(date_entered,1,19) as date_entered,
substring(updated,1,19) as updated
".SUBSTRING_FOR_DATE."(date_entered,1,19) as date_entered,
".SUBSTRING_FOR_DATE."(updated,1,19) as updated
FROM ttrss_entries,ttrss_user_entries
WHERE ttrss_entries.id = ref_id AND feed_id = '$id'
ORDER BY updated DESC LIMIT 5");