diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2021-01-04 12:36:11 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2021-01-04 12:36:11 +0900 |
commit | 3f9b3423bbf7d920beacd29f251978c37454a6ba (patch) | |
tree | 5b977ba049dd63c99b60c4ffdab281ed29c2fa35 /snippets/oidc-woocommerce.php | |
parent | eef307a7bdb141b671058e2214e68d0fd27866f1 (diff) | |
download | woocommerce-taler-3f9b3423bbf7d920beacd29f251978c37454a6ba.tar.gz woocommerce-taler-3f9b3423bbf7d920beacd29f251978c37454a6ba.tar.bz2 woocommerce-taler-3f9b3423bbf7d920beacd29f251978c37454a6ba.zip |
do not clone everything; minor fixes
Diffstat (limited to 'snippets/oidc-woocommerce.php')
-rw-r--r-- | snippets/oidc-woocommerce.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/oidc-woocommerce.php b/snippets/oidc-woocommerce.php index bdb4fdc..0ce5ddb 100644 --- a/snippets/oidc-woocommerce.php +++ b/snippets/oidc-woocommerce.php @@ -72,7 +72,7 @@ function get_claim( $claimname, $userinfo, &$claimvalue ) { /** * If we find a simple claim, return it. */ - if ( array_keys_exists( $claimname, $userinfo ) ) { + if ( array_key_exists( $claimname, $userinfo ) ) { $claimvalue = $userinfo[$claimname]; return True; } |