Changeset:
        a23cf160f16d
        
https://sourceforge.net/p/mrbs/hg-code/ci/a23cf160f16da8c8b599590d63e92289c73ddee8
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Oct 06 16:19:20 2016 +0100
Log message:

Fixed regression introduced in changeset b212448e0d86

diffstat:

 web/upgrade/6/post.inc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 761d6587d67e -r a23cf160f16d web/upgrade/6/post.inc
--- a/web/upgrade/6/post.inc    Thu Oct 06 16:08:47 2016 +0100
+++ b/web/upgrade/6/post.inc    Thu Oct 06 16:19:20 2016 +0100
@@ -12,7 +12,7 @@
 
 // If the 'level' field does not exist (as it won't if it was created pre-MRBS 
1.4.2),
 // then create it and populate it with existing admins defined in the config 
file
-if ($admin_handle->field_exists($tbl_users, 'level'))
+if (!$admin_handle->field_exists($tbl_users, 'level'))
 {
   // Default is '0' because we want to play safe and give no rights.
   // In a moment we will go through the table and add users and admins.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to