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:
parent
e1ab45d3c9
commit
87bb4aeda0
@ -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 == '' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user