Fixed some error reporting

This commit is contained in:
jengo 2000-11-17 16:19:37 +00:00
parent 41041205c1
commit 3831d2e0d2
2 changed files with 4 additions and 3 deletions

View File

@ -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) {

View File

@ -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.