From c6c84691886968df58aa7746d712c72f5d75c206 Mon Sep 17 00:00:00 2001 From: ajstanley Date: Fri, 29 Jul 2016 11:36:14 -0300 Subject: [PATCH] variable name collision --- islandora.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/islandora.module b/islandora.module index 87dd29a6..b3dcf58e 100644 --- a/islandora.module +++ b/islandora.module @@ -2179,8 +2179,8 @@ function islandora_islandora_overview_object(AbstractObject $object) { $rows = array(); foreach ($cmodels as $cmodel) { if ($cmodel != 'fedora-system:FedoraObject-3.0') { - $object = islandora_object_load($cmodel); - $rows[] = array(l($object->label, "islandora/object/{$object->id}")); + $o = islandora_object_load($cmodel); + $rows[] = array(l($object->label, "islandora/object/{$o->id}")); } } $header = count($rows) > 1 ? t('Content Models') : t('Content Model');