Update of /cvsroot/php-blog/serendipity/include/db
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17878/include/db
Modified Files:
Tag: branch-smarty
postgres.inc.php
Log Message:
* RSS feed should not display sticky posts as sticky
* RSS Export uses reverse chronological order for easier import
* Fixed PostgreSQL concatenation issue
* Fixed entry visibility (private/hidden/member) attribute to work as
intended
* Remove obsolete "force nocache" directive for RSS feed.
Index: postgres.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/db/Attic/postgres.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- postgres.inc.php 6 Nov 2004 11:22:50 -0000 1.1.2.1
+++ postgres.inc.php 8 Nov 2004 09:25:32 -0000 1.1.2.2
@@ -157,7 +157,7 @@
}
function serendipity_db_concat($string) {
- return 'concat_text(' . $string . ')';
+ return '(' . str_replace(', ', '||', $string) . ')';
}
/* vim: set sts=4 ts=4 expandtab : */
|