summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-04-28 11:08:44 +0100
committerAndrew Dolgov <[email protected]>2008-04-28 11:08:44 +0100
commit2ac6b765ab62750fc8348d5bca1efbff9c42a71d (patch)
tree051beae9bbebfe842c291d5a1ecd6fbfec3dac68 /functions.php
parente89aed7bb53760d27803a22c086893b0cd75233c (diff)
more work on PGSQL 8.3 compatibility (refs #201)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 5044976f1..3390eca82 100644
--- a/functions.php
+++ b/functions.php
@@ -1108,8 +1108,8 @@
$result = db_query($link, "SELECT
id,content_hash,no_orig_date,title,
- 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,
num_comments
FROM
ttrss_entries