# $Id$
+Version 1.0 ()
+------------------------------------------------------------------------
+
+ * Fix media browser sorting by authorid causing trouble in SQLite
+ (Sven Oliver Moll)
+
Version 1.0-beta3 (May 5th, 2006)
------------------------------------------------------------------------
* Add Akismet antispam support (garvinhicking)
- * Saving special crafterd configuration data as Admin superuser
- could lead to arbitrary PHP code inclusion from
+ * Saving special crafterd configuration data as Admin superuser
+ could lead to arbitrary PHP code inclusion from
serendipity_config_local.inc.php. Since admins usually already have
superuser rights over their files, this is not considered a
"real-life" security issue. (garvinhicking)
$permsql = " WHERE $perm";
}
- $query = "SELECT i.*, a.realname AS authorname FROM {$serendipity['dbPrefix']}images AS i LEFT OUTER JOIN {$serendipity['dbPrefix']}authors AS a ON i.authorid = a.authorid $directorysql ORDER BY $order $ordermode $limitsql";
+ $query = "SELECT i.*, a.realname AS authorname FROM {$serendipity['dbPrefix']}images AS i LEFT OUTER JOIN {$serendipity['dbPrefix']}authors AS a ON i.authorid = a.authorid $directorysql ORDER BY i.$order $ordermode $limitsql";
$rs = serendipity_db_query($query, false, 'assoc');
if (!is_array($rs)) {
return array();