Skip to content

Commit

Permalink
Merge pull request #141 from willtp87/1.7-ISLANDORA-1636
Browse files Browse the repository at this point in the history
Using a strict check to avoid hitting the nesting limit as seen on PH…
  • Loading branch information
whikloj committed Mar 16, 2016
2 parents c5f7b87 + 98eac32 commit 172ade2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Object.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 172ade2

Please sign in to comment.