From 98eac32ec0f3a6d48856cfa341745ed012777679 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Mon, 14 Mar 2016 15:59:48 -0300 Subject: [PATCH] Using a strict check to avoid hitting the nesting limit as seen on PHP 5.5.9 --- Object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }