summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/location_cck/location_cck.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/location_cck/location_cck.module b/contrib/location_cck/location_cck.module
index 9a060b6..b21fde3 100644
--- a/contrib/location_cck/location_cck.module
+++ b/contrib/location_cck/location_cck.module
@@ -358,7 +358,7 @@ function theme_location_cck_formatter_default($element) {
}
else if (isset($location['lid']) && $location['lid']) {
// "normal" viewing.
- $location = location_load_location($location['lid']);
+ // Location is already cached by CCK, so no need to load it.
return theme('location', $location, $hide);
}
}