[ticket/11201] Use !== null, its faster

PHPBB3-11201
This commit is contained in:
Joas Schilling 2014-01-20 00:15:06 +01:00
parent 430a0c1c21
commit 12932e8113

View file

@ -574,7 +574,7 @@ class acp_profile
foreach ($key_ary as $key) foreach ($key_ary as $key)
{ {
$var = $profile_field->prepare_hidden_fields($step, $key, $action, $field_data); $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); $_new_key_ary[$key] = $profile_field->prepare_hidden_fields($step, $key, $action, $field_data);
} }