mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9874] view_log() performs unneeded count query over all log entries. [ticket/7834] Topic time didn't update when first post was deleted [ticket/9997] Fixed an inconsistency in the Moderator Control Panel [ticket/9872] Removed some useless code that broke delete_posts
This commit is contained in:
@@ -227,10 +227,10 @@ function mcp_post_details($id, $mode, $action)
|
||||
|
||||
// Get User Notes
|
||||
$log_data = array();
|
||||
$log_count = 0;
|
||||
$log_count = false;
|
||||
view_log('user', $log_data, $log_count, $config['posts_per_page'], 0, 0, 0, $post_info['user_id']);
|
||||
|
||||
if ($log_count)
|
||||
if (!empty($log_data))
|
||||
{
|
||||
$template->assign_var('S_USER_NOTES', true);
|
||||
|
||||
|
Reference in New Issue
Block a user