Revision: 2226
Author: [email protected]
Date: Fri Mar 19 07:18:12 2010
Log: ConsentAdmin: Minor bugfix in consent disabling
http://code.google.com/p/simplesamlphp/source/detail?r=2226
Modified:
/trunk/modules/consentAdmin/www/consentAdmin.php
=======================================
--- /trunk/modules/consentAdmin/www/consentAdmin.php Wed Feb 10 03:32:00
2010
+++ /trunk/modules/consentAdmin/www/consentAdmin.php Fri Mar 19 07:18:12
2010
@@ -126,9 +126,11 @@
}
// Remove services, whitch have consent disabled
-foreach($idp_metadata['consent.disable'] AS $disable) {
- if(array_key_exists($disable, $all_sp_metadata)) {
- unset($all_sp_metadata[$disable]);
+if(isset($idp_metadata['consent.disable'])) {
+ foreach($idp_metadata['consent.disable'] AS $disable) {
+ if(array_key_exists($disable, $all_sp_metadata)) {
+ unset($all_sp_metadata[$disable]);
+ }
}
}
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.