import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* @package Zend_Feed
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Itunes.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Itunes.php 13891 2009-01-31 11:41:00Z yoshida@zend.co.jp $
|
||||
*/
|
||||
|
||||
|
||||
@ -112,7 +112,10 @@ class Zend_Feed_Builder_Header_Itunes extends ArrayObject
|
||||
public function setOwner($name = '', $email = '')
|
||||
{
|
||||
if (!empty($email)) {
|
||||
Zend_Loader::loadClass('Zend_Validate_EmailAddress');
|
||||
/**
|
||||
* @see Zend_Validate_EmailAddress
|
||||
*/
|
||||
require_once 'Zend/Validate/EmailAddress.php';
|
||||
$validate = new Zend_Validate_EmailAddress();
|
||||
if (!$validate->isValid($email)) {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user