diff options
author | canyonknight <canyonknight@gmail.com> | 2013-01-22 23:41:43 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-01-30 09:25:30 +0100 |
commit | 65e93f134faf9c98574a99f7f40d9f0bdb4256eb (patch) | |
tree | ff4d5af1934199de8447faaa54359e463e493a3e | |
parent | 150b0f9f0a5174e72a27469030135e98b2a43815 (diff) | |
download | aur-65e93f134faf9c98574a99f7f40d9f0bdb4256eb.tar.gz aur-65e93f134faf9c98574a99f7f40d9f0bdb4256eb.tar.xz |
acctfuncs.inc.php: Change wording of account editing message
An error message is printed when the number of affected rows is
0 for an edited account. A count of 0 doesn't imply an error,
only that no changes were made in the database.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r-- | web/lib/acctfuncs.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 002042d1..3759c63e 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -248,7 +248,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="", $q.= " WHERE ID = ".intval($UID); $result = $dbh->exec($q); if (!$result) { - print __("Error trying to modify account, %s%s%s.", + print __("No changes were made to the account, %s%s%s.", "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>"); } else { print __("The account, %s%s%s, has been successfully modified.", |