aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/object/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/default/object/file.php')
-rw-r--r--mod/file/views/default/object/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index 2511f5af6..5858a1f1e 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -22,7 +22,7 @@
$title = elgg_echo('untitled');
}
- if (get_context() == "search") { // Start search listing version
+ if (elgg_get_context() == "search") { // Start search listing version
if (get_input('search_viewtype') == "gallery") {
echo "<div class='filerepo_gallery_item'>";