fixed PHP notice

This commit is contained in:
Roland Gruber 2012-03-10 14:06:05 +00:00
parent 51da3fad8a
commit 4cf04cf6af
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {