aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/export_handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/handlers/export_handler.php')
-rw-r--r--engine/handlers/export_handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/handlers/export_handler.php b/engine/handlers/export_handler.php
index 264ecce90..652046ba1 100644
--- a/engine/handlers/export_handler.php
+++ b/engine/handlers/export_handler.php
@@ -63,7 +63,7 @@ if (($guid != "") && ($type == "") && ($id_or_name == "")) {
$m->type = "attr";
break;
case 'metadata' :
- $m = get_metadata($id_or_name);
+ $m = elgg_get_metadata_by_id($id_or_name);
break;
case 'annotation' :
$m = get_annotation($id_or_name);