diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Gdata/App/Util.php --- a/web/lib/Zend/Gdata/App/Util.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Gdata/App/Util.php Thu Mar 21 19:50:53 2013 +0100 @@ -16,9 +16,9 @@ * @category Zend * @package Zend_Gdata * @subpackage App - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Util.php 20096 2010-01-06 02:05:09Z bkarwin $ + * @version $Id: Util.php 24643 2012-02-25 21:35:32Z adamlundrigan $ */ /** @@ -27,7 +27,7 @@ * @category Zend * @package Zend_Gdata * @subpackage App - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Gdata_App_Util @@ -45,7 +45,7 @@ $rfc3339 = '/^(\d{4})\-?(\d{2})\-?(\d{2})((T|t)(\d{2})\:?(\d{2})' . '\:?(\d{2})(\.\d{1,})?((Z|z)|([\+\-])(\d{2})\:?(\d{2})))?$/'; - if (ctype_digit($timestamp)) { + if (ctype_digit((string)$timestamp)) { return gmdate('Y-m-d\TH:i:sP', $timestamp); } elseif (preg_match($rfc3339, $timestamp) > 0) { // timestamp is already properly formatted