get content of element rather than raw element
darcs-hash:20080602191039-84dde-d4a119b5c6a0bff9648ee6a4445e373933f2c199.gz
This commit is contained in:
parent
740460e2ac
commit
53254d36ea
|
@ -90,6 +90,10 @@ function omb_local_id($service) {
|
|||
return NULL;
|
||||
}
|
||||
$els = $service->getElements('xrd:LocalID');
|
||||
return ($els) ? $els[0] : NULL;
|
||||
if (!$els) {
|
||||
return NULL;
|
||||
}
|
||||
$el = $els[0];
|
||||
return $service->parser->content($el);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user