Browse Source

variable name collision

pull/653/head
ajstanley 8 years ago
parent
commit
c6c8469188
  1. 4
      islandora.module

4
islandora.module

@ -2179,8 +2179,8 @@ function islandora_islandora_overview_object(AbstractObject $object) {
$rows = array(); $rows = array();
foreach ($cmodels as $cmodel) { foreach ($cmodels as $cmodel) {
if ($cmodel != 'fedora-system:FedoraObject-3.0') { if ($cmodel != 'fedora-system:FedoraObject-3.0') {
$object = islandora_object_load($cmodel); $o = islandora_object_load($cmodel);
$rows[] = array(l($object->label, "islandora/object/{$object->id}")); $rows[] = array(l($object->label, "islandora/object/{$o->id}"));
} }
} }
$header = count($rows) > 1 ? t('Content Models') : t('Content Model'); $header = count($rows) > 1 ? t('Content Models') : t('Content Model');

Loading…
Cancel
Save