Browse Source

changed operator

pull/307/head
Alan Stanley 12 years ago
parent
commit
84aa0c58f4
  1. 4
      includes/utilities.inc

4
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) {

Loading…
Cancel
Save