if ($::form->{phone_note}->{subject} || $::form->{phone_note}->{body}) {
if (!$::form->{phone_note}->{subject} || !$::form->{phone_note}->{body}) {
return [t8('Phone note needs a subject and a body.')];
if ($::form->{phone_note}->{subject} || $::form->{phone_note}->{body}) {
if (!$::form->{phone_note}->{subject} || !$::form->{phone_note}->{body}) {
return [t8('Phone note needs a subject and a body.')];