summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--location.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/location.module b/location.module
index ebb0287..cb7aeef 100644
--- a/location.module
+++ b/location.module
@@ -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'],
);
}
}