Revision: 2990
https://sourceforge.net/p/mrbs/code/2990/
Author: cimorrison
Date: 2015-01-28 16:07:08 +0000 (Wed, 28 Jan 2015)
Log Message:
-----------
Fixed bug that allowed '0' to be entered as a valid email address for a user
Modified Paths:
--------------
mrbs/trunk/web/edit_users.php
Modified: mrbs/trunk/web/edit_users.php
===================================================================
--- mrbs/trunk/web/edit_users.php 2015-01-28 15:52:56 UTC (rev 2989)
+++ mrbs/trunk/web/edit_users.php 2015-01-28 16:07:08 UTC (rev 2990)
@@ -650,7 +650,7 @@
break;
case 'email':
// check that the email address is valid
- if (!empty($value) && !validate_email_list($value))
+ if (isset($value) && ($value !== '') && !validate_email_list($value))
{
$valid_data = FALSE;
$q_string .= "&invalid_email=1";
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits