We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be689dc commit b3094a0Copy full SHA for b3094a0
modules/openid/openid.inc
@@ -687,7 +687,9 @@ function openid_extract_ax_values($values, $uris) {
687
* Determine the available math library GMP vs. BCMath, favouring GMP for performance.
688
*/
689
function _openid_get_math_library() {
690
- $library = &drupal_static(__FUNCTION__);
+ // Not drupal_static(), because a function is not going to disappear and
691
+ // change the output of this under any circumstances.
692
+ static $library;
693
694
if (empty($library)) {
695
if (function_exists('gmp_add')) {
0 commit comments