Skip to content
Snippets Groups Projects
Commit 2d1fc98f authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix for issue #524. The get() method of the SimpleSAML_Store interface should...

Fix for issue #524. The get() method of the SimpleSAML_Store interface should always return NULL in case of failure.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3227 44740490-163a-0410-bde0-09ae8108e29a
parent 132a0dd2
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,10 @@ class SimpleSAML_Store_SQL extends SimpleSAML_Store {
}
$value = urldecode($value);
$value = unserialize($value);
if ($value === FALSE) {
return NULL;
}
return $value;
}
......
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