From 12932e8113f32be76734703681d41afb36fd7309 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 20 Jan 2014 00:15:06 +0100 Subject: [PATCH] [ticket/11201] Use !== null, its faster PHPBB3-11201 --- phpBB/includes/acp/acp_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index d588a34cec..c37d501aac 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -574,7 +574,7 @@ class acp_profile foreach ($key_ary as $key) { $var = $profile_field->prepare_hidden_fields($step, $key, $action, $field_data); - if (!is_null($var)) + if ($var !== null) { $_new_key_ary[$key] = $profile_field->prepare_hidden_fields($step, $key, $action, $field_data); }