aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/iconupload.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/iconupload.php')
-rw-r--r--mod/profile/actions/iconupload.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php
index a1e29b255..7c7e95f37 100644
--- a/mod/profile/actions/iconupload.php
+++ b/mod/profile/actions/iconupload.php
@@ -43,6 +43,8 @@
$filehandler->write($small);
$filehandler->close();
+ $_SESSION['user']->icontime = time();
+
system_message(elgg_echo("profile:icon:uploaded"));
} else {