diff pages/register.inc.php @ 594:dc53c26e6667

Bugfix.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 18 Oct 2014 00:22:37 +0300
parents ce11ea112a65
children 2eeca16e9c96
line wrap: on
line diff
--- a/pages/register.inc.php	Fri Oct 17 19:03:04 2014 +0300
+++ b/pages/register.inc.php	Sat Oct 18 00:22:37 2014 +0300
@@ -189,7 +189,7 @@
     {
       echo stGetSetting("registerPostText");
 
-      if (strlen($email) < 4)
+      if (strlen(stGetRequestItem("email")) < 4)
         echo stGetSetting("registerPostNoEmail");
     }
     else