Skip to content
Snippets Groups Projects
Commit d2fa01c8 authored by Frank Tamás's avatar Frank Tamás
Browse files

Typo

parent 1fcd47f4
No related branches found
No related tags found
No related merge requests found
......@@ -599,7 +599,6 @@ $config = array(
* array('type' => 'mdx', server => 'http://mdx.server.com:8080', 'cachedir' => '/var/simplesamlphp/mdx-cache', 'cachelength' => 86400)
* ),
*
*
* Default:
* 'metadata.sources' => array(
* array('type' => 'flatfile')
......
......@@ -282,7 +282,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerMDX extends SimpleSAML_Metadata_
throw new Exception('No metadata for set "' . $set .
'" available from "' . $index . '".');
}
if (is_array($data[0])) $data = $data[0];
if (is_array($data[0])) $data = $data[0];
$this->writeToCache($set, $index, $data);
return $data;
......
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