diff --git a/simplesamlphp_auth.info b/simplesamlphp_auth.info index d5f1f82..f5f63ef 100644 --- a/simplesamlphp_auth.info +++ b/simplesamlphp_auth.info @@ -2,3 +2,4 @@ name = SimpleSAMLphp authentication description = Allows users to authenticate to a remote SAML identity provider (IdP) via a locally configured SimpleSAMLphp service point (SP). core = 7.x configure = admin/config/people/simplesamlphp_auth +php = 5.3 diff --git a/simplesamlphp_auth.module b/simplesamlphp_auth.module index a91bb6a..e492d92 100644 --- a/simplesamlphp_auth.module +++ b/simplesamlphp_auth.module @@ -592,7 +592,7 @@ function _simplesamlphp_auth_rolepopulation($rolemap) { watchdog('simplesamlphp_auth', 'Evaluate role evaulation: %roleruleeval', array('%roleruleeval' => $roleruleevaluation), WATCHDOG_DEBUG); - $roleruleevaluationdc = explode(',', $roleruleevaluation); + $roleruleevaluationdc = str_getcsv($roleruleevaluation); if (!_simplesamlphp_auth_evaulaterolerule($roleruleevaluationdc, $attributes)) { $addnew = FALSE; }