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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user