Fix resetting comment/tb counter when editing an entry

This commit is contained in:
Garvin Hicking 2008-11-25 09:56:04 +00:00
parent f8362ba40b
commit 8ea49739fb
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,8 @@ Version 1.4 ()
(garvinhicking)
* Fix not properly counting trackbacks [1.4-beta1] (garvinhicking)
* Fix not properly counting trackbacks or resetting comment/tb
counter when editing an entry [1.4-beta1] (garvinhicking)
* Added experimental Serendipity importer (for merging installations,
fore example). (Garvinhicking)

View File

@ -382,9 +382,9 @@ switch($serendipity['GET']['adminAction']) {
'exflag' => (!empty($serendipity['POST']['extended']) ? true : false),
// New stuff for advanced templates
'last_modified' => $sim_last_modified,
'comments' => 0,
'trackbacks' => 0,
// Messing with these causes problems when entry is saved
//'comments' => 0,
//'trackbacks' => 0,
//'authorid' => $serendipity['user'],
//'author' => $serendipity['authorid']
// Not possible to get loginname or email, so far as I can tell