aboutsummaryrefslogtreecommitdiff
path: root/mod/file/actions/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/actions/delete.php')
-rw-r--r--mod/file/actions/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/actions/delete.php b/mod/file/actions/delete.php
index e7ad90289..9357d4955 100644
--- a/mod/file/actions/delete.php
+++ b/mod/file/actions/delete.php
@@ -49,7 +49,7 @@
} else {
- $container = $_SESSION['user'];
+ $container = get_loggedin_user();
register_error(elgg_echo("file:deletefailed"));
}