plugins/SpecialUserFuncs.php
changeset 359 e0787bb6285b
parent 348 87e08a6e4fec
child 371 dc6026376919
--- a/plugins/SpecialUserFuncs.php	Sun Jan 20 22:34:02 2008 -0500
+++ b/plugins/SpecialUserFuncs.php	Mon Jan 21 10:09:48 2008 -0500
@@ -970,6 +970,7 @@
           }
           function regenCaptcha()
           {
+            var frm = document.forms.regform;
             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
             return false;
           }