Changeset:
        68875197b0e9
        
https://sourceforge.net/p/mrbs/hg-code/ci/68875197b0e95a06165a0bacfdfd0a7b8b61bc22
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Aug 18 13:37:05 2016 +0100
Log message:

Fixed bug preventing the username being set to '0'

diffstat:

 web/edit_users.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 580cff0d105b -r 68875197b0e9 web/edit_users.php
--- a/web/edit_users.php        Thu Aug 18 13:33:44 2016 +0100
+++ b/web/edit_users.php        Thu Aug 18 13:37:05 2016 +0100
@@ -616,7 +616,7 @@
       {
         case 'name':
           // check that the name is not empty
-          if (empty($value))
+          if ($value === '')
           {
             $valid_data = FALSE;
             $q_string .= "&name_empty=1";

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to