1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 06:25:04 +02:00

Morons have congregated in my head for a moron-party

git-svn-id: file:///svn/phpbb/trunk@2307 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-18 13:44:21 +00:00
parent e1ab45d3c9
commit 87bb4aeda0

View File

@ -542,7 +542,8 @@ else if ( $submit || $confirm )
if ( $mode != 'editpost' ) if ( $mode != 'editpost' )
{ {
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $post_data['poster_id']); $user_id = ( $mode == 'reply' || $mode == 'newtopic' ) ? $userdata['user_id'] : $post_data['poster_id'];
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
} }
if ( $error_msg == '' ) if ( $error_msg == '' )