summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-05-14 23:14:24 +0200
committerINOPIAE <inopiae@cacert.org>2013-05-14 23:14:24 +0200
commit8903b327cdba0e6615bed4e73dbbd73b9f8b3afb (patch)
tree4029cc79d322215208a5253e568e7c25ab15a667
parentdc7e1e0762461b0abbcf1854bd17829fb1ea833b (diff)
downloadcacert-devel-8903b327cdba0e6615bed4e73dbbd73b9f8b3afb.tar.gz
cacert-devel-8903b327cdba0e6615bed4e73dbbd73b9f8b3afb.tar.xz
cacert-devel-8903b327cdba0e6615bed4e73dbbd73b9f8b3afb.zip
bug 569: Fixed multiple title
-rw-r--r--includes/account.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index b90c9d3..a861c52 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -150,10 +150,12 @@
$delcount = 0;
if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid']))
{
+ $deltitle=0;
foreach($_REQUEST['delid'] as $id)
{
- if (0==$delcount) {
+ if (0==$deltitle) {
echo _('The following email addresses have been removed:')."<br>\n";
+ $deltitle=1;
}
$id = intval($id);
$query = "select * from `email` where `id`='$id' and `memid`='".intval($_SESSION['profile']['id'])."' and