[ticket/11420] Use !==, === when comparing strings

PHPBB3-11420
This commit is contained in:
Nathan Guse 2013-07-06 12:59:26 -05:00
parent bdaa40bb55
commit 9f85a4d118

View file

@ -72,7 +72,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
{
$return = array();
if ($method != '')
if ($method !== '')
{
$return[] = array(
'item_type' => $type,
@ -83,7 +83,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
);
}
if ($method == 'email' || $method == 'both')
if ($method === 'email' || $method === 'both')
{
$return[] = array(
'item_type' => $type,
@ -94,7 +94,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
);
}
if ($method == 'jabber' || $method == 'both')
if ($method === 'jabber' || $method === 'both')
{
$return[] = array(
'item_type' => $type,