Fix problem with %username% permalinks
This commit is contained in:
parent
a88887e4c5
commit
7962992a26
@ -3,6 +3,9 @@
|
||||
Version 1.1 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Fix bug with using %username% in author permalinks, thanks to oeli
|
||||
from the forums! (garvinhicking)
|
||||
|
||||
* Fix possible integer wraparound in comment count leading to
|
||||
a gazillion counter state. Also now show links to the entries
|
||||
within the administration comment panel. Thanks to Julian Finn!
|
||||
|
@ -350,6 +350,7 @@ function &serendipity_fetchEntries($range = null, $full = true, $limit = '', $fe
|
||||
e.last_modified,
|
||||
|
||||
a.realname AS author,
|
||||
a.username AS loginname,
|
||||
a.email";
|
||||
}
|
||||
|
||||
@ -962,7 +963,7 @@ function serendipity_printEntries($entries, $extended = 0, $preview = false, $sm
|
||||
|
||||
$authorData = array(
|
||||
'authorid' => $entry['authorid'],
|
||||
'username' => $entry['author'],
|
||||
'username' => $entry['loginname'],
|
||||
'email' => $entry['email'],
|
||||
'realname' => $entry['author']
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user