1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[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)
{
$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);
}