* PostgreSQL compatibility for the printArchives() function to
gather only unique timestamps (cite)
This commit is contained in:
parent
47aa8c2f72
commit
b266d3b3b4
@ -11,6 +11,9 @@ Version 1.5 ()
|
||||
|
||||
* More PHP 5.3.0 compat (split(), ereg(), ereg_replace()).
|
||||
|
||||
* PostgreSQL compatibility for the printArchives() function to
|
||||
gather only unique timestamps (cite)
|
||||
|
||||
-- beta1 release
|
||||
|
||||
* PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking)
|
||||
|
@ -1599,7 +1599,7 @@ function serendipity_printArchives() {
|
||||
. (!serendipity_db_bool($serendipity['showFutureEntries']) ? " AND timestamp <= " . serendipity_db_time() : '')
|
||||
. (!empty($cat_sql) ? ' AND ' . $cat_sql : '')
|
||||
. (!empty($serendipity['GET']['viewAuthor']) ? ' AND e.authorid = ' . (int)$serendipity['GET']['viewAuthor'] : '')
|
||||
. (!empty($cat_sql) ? " GROUP BY e.id" : '');
|
||||
. (!empty($cat_sql) ? " GROUP BY e.id, e.timestamp" : '');
|
||||
$entries =& serendipity_db_query($q, false, 'assoc');
|
||||
|
||||
$group = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user