From 84aa0c58f4181132b17fecad2108ecbd39e3bfc0 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Fri, 19 Apr 2013 14:46:11 -0300 Subject: [PATCH] changed operator --- includes/utilities.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/utilities.inc b/includes/utilities.inc index 5b60df50..ca1867d3 100644 --- a/includes/utilities.inc +++ b/includes/utilities.inc @@ -778,9 +778,9 @@ function islandora_content_model_select_table_form_element($drupal_variable, $de $a_val = 1; } if (in_array($b, $selected)) { - $b_val = 1; + $b_val - 1; } - return $a_val = $b_val; + return $a_val - $b_val; }; uksort($content_models, $comparator); foreach ($content_models as $pid => $label) {