aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/location.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/location.php')
-rw-r--r--engine/lib/location.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/location.php b/engine/lib/location.php
index f3aae709b..d5d6b7309 100644
--- a/engine/lib/location.php
+++ b/engine/lib/location.php
@@ -38,7 +38,7 @@ function elgg_geocode_location($location) {
// Trigger geocode event if not cached
$return = false;
- $return = trigger_plugin_hook('geocode', 'location', array('location' => $location), $return);
+ $return = elgg_trigger_plugin_hook('geocode', 'location', array('location' => $location), $return);
// If returned, cache and return value
if (($return) && (is_array($return))) {