- Code: Select all
if (!$subject || !utf_clean_string($subject))
{
$error[] = $user->lang['EMPTY_SUBJECT'];
}
Perhaps $subject === '' should be used here?
if (!$subject || !utf_clean_string($subject))
{
$error[] = $user->lang['EMPTY_SUBJECT'];
}