phpBB

Code Changes

File: includes/mcp/mcp_post.php

  Unmodified   Added   Modified   Removed
Line 38Line 38

add_form_key('mcp_post_details');



add_form_key('mcp_post_details');


	if (!sizeof($post_info))

	if (!count($post_info))

	{
trigger_error('POST_NOT_EXIST');
}

	{
trigger_error('POST_NOT_EXIST');
}

Line 165Line 165
		}
$db->sql_freeresult($result);


		}
$db->sql_freeresult($result);


		if (sizeof($attachments))

		if (count($attachments))

		{
$user->add_lang('viewtopic');
$update_count = array();

		{
$user->add_lang('viewtopic');
$update_count = array();

Line 409Line 409
			);
}


			);
}


		if (sizeof($users_ary))

		if (count($users_ary))

		{
// Get the usernames
$sql = 'SELECT user_id, username

		{
// Get the usernames
$sql = 'SELECT user_id, username

Line 495Line 495

$user_select = '';



$user_select = '';


		if (sizeof($usernames_ary))

		if (count($usernames_ary))

		{
ksort($usernames_ary);


		{
ksort($usernames_ary);


Line 656Line 656
	// Renew post info
$post_info = phpbb_get_post_data(array($post_id), false, true);


	// Renew post info
$post_info = phpbb_get_post_data(array($post_id), false, true);


	if (!sizeof($post_info))

	if (!count($post_info))

	{
trigger_error('POST_NOT_EXIST');
}

	{
trigger_error('POST_NOT_EXIST');
}