From abaced0fcb90d99d45956b64273fd3fc1f6a8da4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Aug 2006 19:50:20 +0000 Subject: [PATCH] bug #289 --- includes/account.php | 3 +++ 1 file changed, 3 insertions(+) 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!"));