summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-09-08 18:42:56 +0000
committerJosh Hoyt <josh@janrain.com>2006-09-08 18:42:56 +0000
commit71ee0cd792f5b15f0e6513309467e4f0493c5659 (patch)
tree8b01d85c9b89654880ad0796177fb0b7c304291a
parentf146011fb82ef8bd6eb55a50bc86abac7f7fc9a9 (diff)
downloadphp-openid-71ee0cd792f5b15f0e6513309467e4f0493c5659.zip
php-openid-71ee0cd792f5b15f0e6513309467e4f0493c5659.tar.gz
php-openid-71ee0cd792f5b15f0e6513309467e4f0493c5659.tar.bz2
[project @ Can't return a reference to null in Auth_OpenID_getMathLib]
-rw-r--r--Auth/OpenID/BigMath.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/OpenID/BigMath.php b/Auth/OpenID/BigMath.php
index 251faee..cc708e9 100644
--- a/Auth/OpenID/BigMath.php
+++ b/Auth/OpenID/BigMath.php
@@ -413,7 +413,8 @@ function &Auth_OpenID_getMathLib()
}
if (defined('Auth_OpenID_NO_MATH_SUPPORT')) {
- return null;
+ $null = null;
+ return $null;
}
// If this method has not been called before, look at