diff --git a/includes/account.php b/includes/account.php index 56457b9..c0cf232 100644 --- a/includes/account.php +++ b/includes/account.php @@ -325,6 +325,9 @@ if($oldid == 7) { + list($newdomain, $crud) = explode(" ", $newdomain, 2); + while($newdomain['0'] == '-') + $newdomain = substr($newdomain, 1); if(strstr($newdomain, "xn--") && $_SESSION['profile']['codesign'] <= 0) { showheader(_("My CAcert.org Account!"));