Skip to content
Snippets Groups Projects
Commit 0829dd55 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix bug getting the arp definition from metarefresh config sets

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1512 44740490-163a-0410-bde0-09ae8108e29a
parent f9a926ef
Branches
Tags
No related merge requests found
...@@ -51,9 +51,8 @@ function metarefresh_hook_cron(&$croninfo) { ...@@ -51,9 +51,8 @@ function metarefresh_hook_cron(&$croninfo) {
break; break;
} }
if ($set->hasValue('arp')) {
if (array_key_exists('arp', $set)) { $arpconfig = SimpleSAML_Configuration::loadFromArray($set->getValue('arp'));
$arpconfig = SimpleSAML_Configuration::loadFromArray($set['arp']);
$metaloader->writeARPfile($arpconfig); $metaloader->writeARPfile($arpconfig);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment