import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage ReCaptcha
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -34,9 +34,9 @@ require_once 'Zend/Service/ReCaptcha/Response.php';
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage ReCaptcha
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id$
|
||||
* @version $Id: ReCaptcha.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
*/
|
||||
class Zend_Service_ReCaptcha extends Zend_Service_Abstract
|
||||
{
|
||||
@ -387,14 +387,14 @@ class Zend_Service_ReCaptcha extends Zend_Service_Abstract
|
||||
|
||||
$host = self::API_SERVER;
|
||||
|
||||
if ($this->_params['ssl'] === true) {
|
||||
if ((bool) $this->_params['ssl'] === true) {
|
||||
$host = self::API_SECURE_SERVER;
|
||||
}
|
||||
|
||||
$htmlBreak = '<br>';
|
||||
$htmlInputClosing = '>';
|
||||
|
||||
if ($this->_params['xhtml'] === true) {
|
||||
if ((bool) $this->_params['xhtml'] === true) {
|
||||
$htmlBreak = '<br />';
|
||||
$htmlInputClosing = '/>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user