Rev 1288 | Rev 1291 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1288 | Rev 1290 | ||
---|---|---|---|
Line 591... | Line 591... | ||
591 | } |
591 | } |
592 | } |
592 | } |
593 | 593 | ||
594 | // Determine absolute OID name |
594 | // Determine absolute OID name |
595 | // Note: At addString() and parse(), the syntax of the ID will be checked |
595 | // Note: At addString() and parse(), the syntax of the ID will be checked |
- | 596 | if (isset($params['id_fully_qualified']) && is_string($params['id_fully_qualified'])) $params['id_fully_qualified'] = $params['id_fully_qualified'] == 'true'; |
|
596 | if ($params['id_fully_qualified'] ?? false) { |
597 | if ($params['id_fully_qualified'] ?? false) { |
597 | $id = $params['id']; |
598 | $id = $params['id']; |
598 | $obj = OIDplusObject::parse($id); |
599 | $obj = OIDplusObject::parse($id); |
599 | $objParentTest = $obj->getParent(); |
600 | $objParentTest = $obj->getParent(); |
600 | if (!$objParentTest || !$objParentTest->equals($objParent)) throw new OIDplusException(_L('Cannot verify that %1 has parent %2', $obj->nodeId(), $objParent->nodeId())); |
601 | if (!$objParentTest || !$objParentTest->equals($objParent)) throw new OIDplusException(_L('Cannot verify that %1 has parent %2', $obj->nodeId(), $objParent->nodeId())); |