mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 06:09:00 +02:00
Fix notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42907 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e0ddba6ab8
commit
03807c5883
@ -96,7 +96,7 @@ define('Auth_OpenID_digits',
|
||||
define('Auth_OpenID_punct',
|
||||
"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");
|
||||
|
||||
if (Auth_OpenID_getMathLib() === null) {
|
||||
if (Auth_OpenID_getMathLib() === null && !defined('Auth_OpenID_NO_MATH_SUPPORT')) {
|
||||
|
||||
define('Auth_OpenID_NO_MATH_SUPPORT', true);
|
||||
}
|
||||
|
@ -444,7 +444,8 @@ function &Auth_OpenID_getMathLib()
|
||||
$triedstr = implode(", ", $tried);
|
||||
|
||||
define('Auth_OpenID_NO_MATH_SUPPORT', true);
|
||||
return null;
|
||||
$null = null;
|
||||
return $null;
|
||||
}
|
||||
|
||||
// Instantiate a new wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user