diff options
Diffstat (limited to 'phpBB/includes/mcp/mcp_post.php')
| -rw-r--r-- | phpBB/includes/mcp/mcp_post.php | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php index 60ec3b8f5a..d6d0369e48 100644 --- a/phpBB/includes/mcp/mcp_post.php +++ b/phpBB/includes/mcp/mcp_post.php @@ -38,7 +38,7 @@ function mcp_post_details($id, $mode, $action)  	add_form_key('mcp_post_details'); -	if (!sizeof($post_info)) +	if (!count($post_info))  	{  		trigger_error('POST_NOT_EXIST');  	} @@ -165,7 +165,7 @@ function mcp_post_details($id, $mode, $action)  		}  		$db->sql_freeresult($result); -		if (sizeof($attachments)) +		if (count($attachments))  		{  			$user->add_lang('viewtopic');  			$update_count = array(); @@ -409,7 +409,7 @@ function mcp_post_details($id, $mode, $action)  			);  		} -		if (sizeof($users_ary)) +		if (count($users_ary))  		{  			// Get the usernames  			$sql = 'SELECT user_id, username @@ -495,7 +495,7 @@ function mcp_post_details($id, $mode, $action)  		$user_select = ''; -		if (sizeof($usernames_ary)) +		if (count($usernames_ary))  		{  			ksort($usernames_ary); @@ -656,7 +656,7 @@ function change_poster(&$post_info, $userdata)  	// 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');  	} | 
