diff --git a/app/code/core/Mage/Sendfriend/Model/Sendfriend.php b/app/code/core/Mage/Sendfriend/Model/Sendfriend.php index b7614c9b0cc..654e512a235 100644 --- a/app/code/core/Mage/Sendfriend/Model/Sendfriend.php +++ b/app/code/core/Mage/Sendfriend/Model/Sendfriend.php @@ -187,7 +187,7 @@ public function validate() } $email = $this->getSender()->getEmail(); - if (empty($email) or !Zend_Validate::is($email, 'EmailAddress')) { + if (empty($email) || !Zend_Validate::is($email, 'EmailAddress')) { $errors[] = Mage::helper('sendfriend')->__('Invalid sender email.'); }