From 37071f0ec084e1f950a4fcb7bebca080676ac611 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Fri, 12 Apr 2013 11:31:48 -0300 Subject: [PATCH] minor formatting changes --- includes/utilities.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/utilities.inc b/includes/utilities.inc index 52186681..f1d221fc 100644 --- a/includes/utilities.inc +++ b/includes/utilities.inc @@ -771,13 +771,13 @@ function islandora_content_model_select_table_form_element($drupal_variable) { $content_models = array(); $options = islandora_get_content_models(TRUE); - foreach ($options as $option){ + foreach ($options as $option) { $content_models[$option['pid']] = $option['label']; } $selected = array_values(variable_get($drupal_variable, array(''))); - foreach ($selected as $selection){ - if (isset($content_models[$selection])){ + foreach ($selected as $selection) { + if (isset($content_models[$selection])) { $content_models = array($selection => $content_models[$selection]) + $content_models; } }