diff --git a/Object.php b/Object.php index 644b425..a311cf0 100644 --- a/Object.php +++ b/Object.php @@ -559,7 +559,7 @@ public function ingestDatastream(&$ds) { if (!isset($this->datastreams[$ds->id])) { // The datastream does not already belong to this object, aka was created // by this object. - if ($ds->parent != $this) { + if ($ds->parent !== $this) { // Create a NewFedoraDatastream copy. $this->createNewDatastreamCopy($ds); }