diff --git a/account.php b/account.php
index aa78c294b970792d1c87fa9123a9c908104cbe3a..e8426bdf7ec1ee8a09d1cf42cebedf7158b1821f 100644
--- a/account.php
+++ b/account.php
@@ -71,6 +71,8 @@ function showUser($uname) {
 }
 
 function newUser($user = "", $error="") {
+  global $theme;
+
   $output .= "<FORM ACTION=\"account.php\" METHOD=post>\n";
   $output .= "<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=2>\n";
   if (!empty($error)) $output .= "<TR><TD COLSPAN=2>$error</TD></TR>\n";