summaryrefslogtreecommitdiffstats
path: root/modules/oauth/www/authorize.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/oauth/www/authorize.php')
-rw-r--r--modules/oauth/www/authorize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/oauth/www/authorize.php b/modules/oauth/www/authorize.php
index afcc395..523670e 100644
--- a/modules/oauth/www/authorize.php
+++ b/modules/oauth/www/authorize.php
@@ -40,7 +40,7 @@ try {
$t = new SimpleSAML_XHTML_Template($config, 'oauth:consent.php');
$t->data['header'] = '{status:header_saml20_sp}';
$t->data['consumer'] = $consumer; // array containint {name, description, key, secret, owner} keys
- $t->data['urlAgree'] = SimpleSAML_Utilities::addURLparameter( SimpleSAML_Utilities::selfURL(), array("consent" => "yes") );
+ $t->data['urlAgree'] = \SimpleSAML\Utils\HTTP::addURLParameters(SimpleSAML_Utilities::selfURL(), array("consent" => "yes"));
$t->data['logouturl'] = SimpleSAML_Utilities::selfURLNoQuery() . '?logout';
$t->show();