bug 569: adjust php code style
authorINOPIAE <inopiae@cacert.org>
Tue, 21 May 2013 21:41:17 +0000 (23:41 +0200)
committerINOPIAE <inopiae@cacert.org>
Tue, 21 May 2013 21:41:17 +0000 (23:41 +0200)
includes/account.php

index a861c52..6f3a77c 100644 (file)
                $delcount = 0;
                if(array_key_exists('delid',$_REQUEST) && is_array($_REQUEST['delid']))
                {
-                       $deltitle=0;
+                       $deltitle=false;
                        foreach($_REQUEST['delid'] as $id)
                        {
-                               if (0==$deltitle) {
+                               if (!$deltitle) {
                                        echo _('The following email addresses have been removed:')."<br>\n";
-                                       $deltitle=1;
+                                       $deltitle=true;
                                }
                                $id = intval($id);
                                $query = "select * from `email` where `id`='$id' and `memid`='".intval($_SESSION['profile']['id'])."' and