From 3831d2e0d2065378ae8c74ab99a2062123b271fc Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 17 Nov 2000 16:19:37 +0000 Subject: [PATCH] Fixed some error reporting --- admin/newaccount.php | 6 +++--- doc/CHANGELOG | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/newaccount.php b/admin/newaccount.php index c9046a89a6..4a3fdf29da 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -61,13 +61,13 @@ $error[$totalerrors++] = lang("The two passwords are not the same"); if (count($new_permissions) == 0) - $error[$phpgw->templateotalerrors++] = lang("You must add at least 1 permission to this account"); + $error[$totalerrors++] = lang("You must add at least 1 permission to this account"); if (count($n_groups) == 0) - $error[$phpgw->templateotalerrors++] = lang("Account must belong to at least 1 group"); + $error[$totalerrors++] = lang("Account must belong to at least 1 group"); if (account_exsists($n_loginid)) { - $error[$phpgw->templateotalerrors++] = lang("That loginid has already been taken"); + $error[$totalerrors++] = lang("That loginid has already been taken"); } if (! $error) { diff --git a/doc/CHANGELOG b/doc/CHANGELOG index aca13fce26..960d79309c 100755 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -7,6 +7,7 @@ in the INBOX regardless of which folder it is in. - Added calendar day view to home page. - Fixed problem with deletion of accounts. + - Fixed a few problems with error reporting in the accounts section [0.9.3] - Fixed the new user account form not returning the users firstname or last name when an error is reported.