diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/extender.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index ab04ea674..50b05579b 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -132,7 +132,7 @@ function can_edit_extender($extender_id, $type, $user_guid = 0) { $user = elgg_get_logged_in_user_entity(); } - $functionname = "get_{$type}"; + $functionname = "elgg_get_{$type}_from_id"; if (is_callable($functionname)) { $extender = $functionname($extender_id); } else { |