summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-21 23:42:48 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-21 23:42:48 +0200
commit0a5933fd408c63c76ded5e8d6aa0c27ee4913e81 (patch)
tree3e8d916926e8ba397d3f960d631c9cf76f5758ff
parent16828d2f4ac5d9dffce26334d8c910a7b33ceb44 (diff)
parent9500530ca333e99b03571625bcee5e2bc085c2e9 (diff)
downloadcacert-devel-0a5933fd408c63c76ded5e8d6aa0c27ee4913e81.tar.gz
cacert-devel-0a5933fd408c63c76ded5e8d6aa0c27ee4913e81.tar.xz
cacert-devel-0a5933fd408c63c76ded5e8d6aa0c27ee4913e81.zip
Merge branch 'bug-569' into testserver-stable
-rw-r--r--includes/account.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index ce4bb28..d1dfdbf 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -149,10 +149,12 @@
$delcount = 0;
if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid']))
{
+ $deltitle=false;
foreach($_REQUEST['delid'] as $id)
{
- if (0==$delcount) {
+ if (!$deltitle) {
echo _('The following email addresses have been removed:')."<br>\n";
+ $deltitle=true;
}
$id = intval($id);
$query = "select * from `email` where `id`='$id' and `memid`='".intval($_SESSION['profile']['id'])."' and