diff --git a/modules/consentAdmin/www/consentAdmin.php b/modules/consentAdmin/www/consentAdmin.php
index f3760a64805c2e49e5365a86de6e9c2c110e6280..ebc09fc30e49e7eac72ece346ec53bf6bbb27410 100644
--- a/modules/consentAdmin/www/consentAdmin.php
+++ b/modules/consentAdmin/www/consentAdmin.php
@@ -175,7 +175,7 @@ if ($action !== null && $sp_entityid !== null) {
     } else {
         if ($action == 'false') {
             // Got consent, so this is a request to remove it
-            $rowcount = $consent_storage->deleteConsent($hashed_user_id, $targeted_id, $attribute_hash);
+            $rowcount = $consent_storage->deleteConsent($hashed_user_id, $targeted_id);
             if ($rowcount > 0) {
                 $res = "removed";
             }