import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -37,6 +37,7 @@ require_once('Zend/Gdata/Query.php');
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Gdata
|
||||
* @subpackage Calendar
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
@ -341,7 +342,7 @@ class Zend_Gdata_Calendar_EventQuery extends Zend_Gdata_Query
|
||||
*/
|
||||
public function setSingleEvents($value)
|
||||
{
|
||||
if (!is_null($value)) {
|
||||
if ($value !== null) {
|
||||
if (is_bool($value)) {
|
||||
$this->_params['singleevents'] = ($value?'true':'false');
|
||||
} elseif ($value == 'true' | $value == 'false') {
|
||||
@ -390,7 +391,7 @@ class Zend_Gdata_Calendar_EventQuery extends Zend_Gdata_Query
|
||||
*/
|
||||
public function setFutureEvents($value)
|
||||
{
|
||||
if (!is_null($value)) {
|
||||
if ($value !== null) {
|
||||
if (is_bool($value)) {
|
||||
$this->_params['futureevents'] = ($value?'true':'false');
|
||||
} elseif ($value == 'true' | $value == 'false') {
|
||||
|
Reference in New Issue
Block a user