* Fix missing %username% permalink pattern in single entry view.

Patch by cress_cc
This commit is contained in:
Garvin Hicking 2007-04-01 11:16:23 +00:00
parent e7ff887407
commit 67a6cb8a65
2 changed files with 5 additions and 0 deletions

@ -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)

@ -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