Cancel sends "Delete" and not an empty string
authorBernhard Fröhlich <bernhard@cacert.org>
Tue, 2 Aug 2011 22:04:43 +0000 (00:04 +0200)
committerBernhard Fröhlich <bernhard@cacert.org>
Tue, 2 Aug 2011 22:04:43 +0000 (00:04 +0200)
includes/account.php

index 14702b9..900bbce 100644 (file)
                        $id = 32;
        }
 
-       if($oldid == 34 && $process != "")
+       if($oldid == 34 && $process == "Delete")
        {
                $orgid = intval($_SESSION['_config']['orgid']);
                $memid = intval($_REQUEST['memid']);