aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 45546a3f0..1e4a1350d 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -401,7 +401,7 @@ function elgg_get_loaded_external_files($type, $location) {
$items = array_values($CONFIG->externals[$type]);
$callback = "return \$v->loaded == true && \$v->location == $location;";
- $items = array_filter($items, create_function('&$v,$k', $callback));
+ $items = array_filter($items, create_function('$v', $callback));
if ($items) {
usort($items, create_function('$a,$b','return $a->priority >= $b->priority;'));
array_walk($items, create_function('&$v,$k', '$v = $v->url;'));