1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Bugtracker #4579 possible fix - blank screen if display name too long

This commit is contained in:
e107steved 2008-11-11 22:38:43 +00:00
parent 711af58c5c
commit 789879e21f

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/signup.php,v $ | $Source: /cvs_backup/e107_0.8/signup.php,v $
| $Revision: 1.22 $ | $Revision: 1.23 $
| $Date: 2008-10-30 20:40:22 $ | $Date: 2008-11-11 22:38:43 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@ -469,8 +469,8 @@ global $db_debug;
} }
} }
// Check if form maxlength has been bypassed // Check if form maxlength has been bypassed (need to allow 100 chars for both here - can have display name and login name the same, and want an error message)
if ( strlen($_POST['name']) > 30 || strlen($_POST['loginname']) > 100) if ( strlen($_POST['name']) > 100 || strlen($_POST['loginname']) > 100)
{ {
exit; exit;
} }