Browse Source

Changed invalid reference to to match the function's parameter. Was getting an exception when trying to construct the query for the SOAP call in getOwnerId()

pull/192/head
Daniel Lamb 12 years ago
parent
commit
36002603e2
  1. 2
      api/fedora_item.inc

2
api/fedora_item.inc

@ -1553,7 +1553,7 @@ RDF;
static function getOwnerId($PID) {
$params = array(
'query' => array(array('property' => 'pid', 'operator' => 'eq', 'value' => $object_id)),
'query' => array(array('property' => 'pid', 'operator' => 'eq', 'value' => $PID)),
'resultFields' => array('pid', 'ownerId'),
'maxResults' => 1,
);

Loading…
Cancel
Save