aboutsummaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 10:54:58 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 10:54:58 +0000
commitcdd5fa899d747c20cc4de20d713d247946940739 (patch)
tree887c120fa38eae4e53de641e617a4efe3e28955c /actions/login.php
parentd90f192e7e138268091ab1f2e7f51ad6e99a7eea (diff)
downloadelgg-cdd5fa899d747c20cc4de20d713d247946940739.tar.gz
elgg-cdd5fa899d747c20cc4de20d713d247946940739.tar.bz2
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
Diffstat (limited to 'actions/login.php')
-rw-r--r--actions/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 769a2e671..4d4f3c098 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -31,7 +31,7 @@
system_message(elgg_echo('loginok'));
forward("pg/dashboard/");
} else {
- system_message(elgg_echo('loginerror'));
+ register_error(elgg_echo('loginerror'));
}
?> \ No newline at end of file