diff --git a/modules/consent/lib/Consent/Store/Database.php b/modules/consent/lib/Consent/Store/Database.php index 2b7ca8104e571888109913282aa5cd898ad86af1..5d7480fff5b293a82377f215f59bd66f0d5cf7c3 100644 --- a/modules/consent/lib/Consent/Store/Database.php +++ b/modules/consent/lib/Consent/Store/Database.php @@ -275,7 +275,7 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store { $ret = array(); - $st = $this->execute('SELECT service_id, attribute FROM ' . $this->table . ' WHERE hashed_user_id = ?', + $st = $this->execute('SELECT service_id, attribute, consent_date, usage_date FROM ' . $this->table . ' WHERE hashed_user_id = ?', array($userId)); if ($st === FALSE) { return array();