From: garvinhicking Date: Sun, 1 Apr 2007 11:16:23 +0000 (+0000) Subject: * Fix missing %username% permalink pattern in single entry view. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=81a310cf2c69f4d363b342d0e829f2ee7e82ac44;p=s9y.git * Fix missing %username% permalink pattern in single entry view. Patch by cress_cc --- diff --git a/docs/NEWS b/docs/NEWS index da8f7b3..32539ef 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.2 () ------------------------------------------------------------------------ + * Fix missing %username% permalink pattern in single entry view. + Patch by cress_cc + * Allow to specify non-default port when using MySQLi (garvinhicking) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 2c0a417..8394dba 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -510,6 +510,7 @@ function &serendipity_fetchEntry($key, $val, $full = true, $fetchDrafts = 'false e.moderate_comments, a.realname AS author, + a.username AS loginname, a.email FROM {$serendipity['dbPrefix']}entries e @@ -644,6 +645,7 @@ function &serendipity_fetchCategories($authorid = null, $name = null, $order = n c.parentid, a.username, + a.username AS loginname, a.realname FROM {$serendipity['dbPrefix']}category AS c LEFT OUTER JOIN {$serendipity['dbPrefix']}authors AS a