From 4cf04cf6affc6d68bb293345a485cddd92653e8d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 10 Mar 2012 14:06:05 +0000 Subject: [PATCH] fixed PHP notice --- lam/lib/modules/authorizedServiceObject.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules/authorizedServiceObject.inc b/lam/lib/modules/authorizedServiceObject.inc index 7b3377f7..3d80f8f3 100644 --- a/lam/lib/modules/authorizedServiceObject.inc +++ b/lam/lib/modules/authorizedServiceObject.inc @@ -295,7 +295,7 @@ class authorizedServiceObject extends baseModule { } } // add ASs - if ($profile['authorizedServiceObject_services'][0] != "") { + if (isset ($profile['authorizedServiceObject_services'][0]) && ($profile['authorizedServiceObject_services'][0] != "")) { $services = explode(',', $profile['authorizedServiceObject_services'][0]); for ($m = 0; $m < sizeof($services); $m++) { if (get_preg($services[$m], 'ascii')) {