mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11201] Use !== null, its faster
PHPBB3-11201
This commit is contained in:
parent
430a0c1c21
commit
12932e8113
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue