summaryrefslogtreecommitdiff
path: root/plugins/OStatus/extlib/Math
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-03-24 15:18:41 -0400
committerJames Walker <walkah@walkah.net>2010-03-24 15:18:41 -0400
commitcfca789b34eeac6c531c4c7aac622ed2e2510390 (patch)
tree7e428e6232a1b20e8eb8c0dbcac2c9345bf2fc57 /plugins/OStatus/extlib/Math
parentc4273f0ef32f65267ddf43dc5dc6977659a0697e (diff)
Updated Math_Biginteger from upstream - removing safe* workarounds
Diffstat (limited to 'plugins/OStatus/extlib/Math')
-rw-r--r--plugins/OStatus/extlib/Math/BigInteger.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/OStatus/extlib/Math/BigInteger.php b/plugins/OStatus/extlib/Math/BigInteger.php
index 9733351d4..4373805f9 100644
--- a/plugins/OStatus/extlib/Math/BigInteger.php
+++ b/plugins/OStatus/extlib/Math/BigInteger.php
@@ -67,7 +67,7 @@
* @author Jim Wigginton <terrafrost@php.net>
* @copyright MMVI Jim Wigginton
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version $Id: BigInteger.php,v 1.31 2010/03/01 17:28:19 terrafrost Exp $
+ * @version $Id: BigInteger.php,v 1.33 2010/03/22 22:32:03 terrafrost Exp $
* @link http://pear.php.net/package/Math_BigInteger
*/
@@ -294,7 +294,7 @@ class Math_BigInteger {
$this->value = array();
}
- if ($x === 0) {
+ if (empty($x)) {
return;
}
@@ -718,7 +718,7 @@ class Math_BigInteger {
*
* Will be called, automatically, when serialize() is called on a Math_BigInteger object.
*
- * @see __wakeup
+ * @see __wakeup()
* @access public
*/
function __sleep()
@@ -740,7 +740,7 @@ class Math_BigInteger {
*
* Will be called, automatically, when unserialize() is called on a Math_BigInteger object.
*
- * @see __sleep
+ * @see __sleep()
* @access public
*/
function __wakeup()