Skip to content
Snippets Groups Projects
Commit 5de12fa4 authored by Andjelko Horvat's avatar Andjelko Horvat
Browse files

sspmod_consent_Consent_Store_Cookie::_setConsentCookie(): fix assert.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3270 44740490-163a-0410-bde0-09ae8108e29a
parent e9a00c78
No related branches found
No related tags found
No related merge requests found
...@@ -264,7 +264,7 @@ class sspmod_consent_Consent_Store_Cookie extends sspmod_consent_Store ...@@ -264,7 +264,7 @@ class sspmod_consent_Consent_Store_Cookie extends sspmod_consent_Store
private function _setConsentCookie($name, $value) private function _setConsentCookie($name, $value)
{ {
assert('is_string($name)'); assert('is_string($name)');
assert('is_string($value)'); assert('is_string($value) || is_null($value)');
$globalConfig = SimpleSAML_Configuration::getInstance(); $globalConfig = SimpleSAML_Configuration::getInstance();
$params = array( $params = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment