Update functions_entries.inc.php

This commit is contained in:
xoxys 2016-02-12 09:08:54 +01:00
parent 68bb6fbeb9
commit 7af3980f96

View File

@ -1227,14 +1227,7 @@ function serendipity_printEntries($entries, $extended = 0, $preview = false, $sm
'is_comment_moderate' => (isset($serendipity['GET']['csuccess']) && $serendipity['GET']['csuccess'] == 'moderate' ? true: false)
);
if ($serendipity['serendipityAuthedUser'] === true) {
$userData = array();
$userData['name'] = $serendipity['realname'];
$userData['email'] = $serendipity['email'];
$userData['url'] = '';
} else {
$userData = $serendipity['POST'];
}
$serendipity['smarty']->assign($comment_add_data);
serendipity_displayCommentForm(