From 049c125b3f3f83936380f4a995b4bdd0dbc1700f Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Sun, 1 Apr 2007 11:17:35 +0000 Subject: [PATCH] * Fix missing %username% permalink pattern in single entry view. Patch by cress_cc --- docs/NEWS | 6 ++++++ include/functions_entries.inc.php | 2 ++ serendipity_config.inc.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index 30163d5..c8a4a9d 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -1,5 +1,11 @@ # $Id$ +Version 1.1.3 () +------------------------------------------------------------------------ + + * Fix missing %username% permalink pattern in single entry view. + Patch by cress_cc + Version 1.1.2 () ------------------------------------------------------------------------ diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 2d663a2..8dfba88 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -502,6 +502,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 @@ -635,6 +636,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 diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 23eb0db..68c789f 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -31,7 +31,7 @@ if (!defined('IN_serendipity')) { include(S9Y_INCLUDE_PATH . 'include/compat.inc.php'); // The version string -$serendipity['version'] = '1.1.2'; +$serendipity['version'] = '1.1.3'; // Setting this to 'false' will enable debugging output. All alpa/beta/cvs snapshot versions will emit debug information by default. To increase the debug level (to enable Smarty debugging), set this flag to 'debug'. $serendipity['production'] = (preg_match('@\-(alpha|beta|cvs)@', $serendipity['version']) ? false : true); -- 2.39.5