server/src/app/Models/Document.php
changeset 111 af85c436048f
parent 28 b0b56e0f8c7f
child 115 34ffc04cef62
--- a/server/src/app/Models/Document.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/app/Models/Document.php	Wed Jan 20 16:21:40 2016 +0100
@@ -176,7 +176,7 @@
             $master = $this->get('<http://www.europeana.eu/schemas/edm/isShownBy>');
             $masterUrl = is_null($master)?null:$master->getUri();
 
-            foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResources>") as $webResource) {
+            foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResource>") as $webResource) {
                 $extent = $webResource->getLiteral("<http://purl.org/dc/terms/extent>");
                 $extent = is_null($extent)?null:$extent->getValue();
                 $extent_ms = Utils::iso8601IntervalToMillis($extent);