add a namespace when checking for LocalID element

darcs-hash:20080602190357-84dde-fbfece18db8a6c4c916c1a58dca1b4a7998772f1.gz
This commit is contained in:
Evan Prodromou 2008-06-02 15:03:57 -04:00
parent 5674061f55
commit 740460e2ac

View File

@ -89,7 +89,7 @@ function omb_local_id($service) {
if (!$service) { if (!$service) {
return NULL; return NULL;
} }
$els = $service->getElements('LocalID'); $els = $service->getElements('xrd:LocalID');
return ($els) ? $els[0] : NULL; return ($els) ? $els[0] : NULL;
} }