From 7cd8ee2360ad7b383af51f69c0dc77260c47314f Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 27 Jan 2012 07:37:03 -0500 Subject: Fixes #1808 using correct message function in profile actions --- actions/avatar/crop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/avatar/crop.php') diff --git a/actions/avatar/crop.php b/actions/avatar/crop.php index 6d71b6f06..f2b812c4f 100644 --- a/actions/avatar/crop.php +++ b/actions/avatar/crop.php @@ -46,7 +46,7 @@ foreach ($icon_sizes as $name => $size_info) { $file->delete(); } - system_message(elgg_echo('avatar:resize:fail')); + register_error(elgg_echo('avatar:resize:fail')); forward(REFERER); } } -- cgit v1.2.3