From cdd5fa899d747c20cc4de20d713d247946940739 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 11 Jul 2008 10:54:58 +0000 Subject: Using register_error on errors rather than system_message. Also, fixed widget save to handle arrays (Refs #135) git-svn-id: https://code.elgg.org/elgg/trunk@1400 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/email/save.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/email/save.php') diff --git a/actions/email/save.php b/actions/email/save.php index 79cc40c6d..a3eb5e3cf 100644 --- a/actions/email/save.php +++ b/actions/email/save.php @@ -34,11 +34,11 @@ system_message(elgg_echo('email:save:success')); } else - system_message(elgg_echo('email:save:fail')); + register_error(elgg_echo('email:save:fail')); } } else - system_message(elgg_echo('email:save:fail')); + register_error(elgg_echo('email:save:fail')); //forward($_SERVER['HTTP_REFERER']); //exit; -- cgit v1.2.3