summaryrefslogtreecommitdiff
path: root/snippets/oidc-woocommerce.php
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2021-01-04 12:36:11 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2021-01-04 12:36:11 +0900
commit3f9b3423bbf7d920beacd29f251978c37454a6ba (patch)
tree5b977ba049dd63c99b60c4ffdab281ed29c2fa35 /snippets/oidc-woocommerce.php
parenteef307a7bdb141b671058e2214e68d0fd27866f1 (diff)
downloadwoocommerce-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.php2
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;
}