#322822, reported by nicholas_w: Location was not honoring the display weight.
authorBrandon Bergren
Tue, 21 Oct 2008 17:35:07 +0000 (17:35 +0000)
committerBrandon Bergren
Tue, 21 Oct 2008 17:35:07 +0000 (17:35 +0000)
location.module

index ebb0287..cb7aeef 100644 (file)
@@ -1008,7 +1008,7 @@ function location_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
             $node->content['locations'] = array(
               '#type' => 'markup',
               '#value' => $output,
-              '#weight' => variable_get('location_display_weight_'. $node->type, 0),
+              '#weight' => $display['weight'],
             );
           }
         }