mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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)
|
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user