1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Bug in MyBB1.6 Import

Discussion in 'Resolved Bug Reports' started by Jafo, Sep 30, 2014.

  1. Jafo

    Jafo Active Member

    I get an undefined index error when starting an import of data from MyBB1.6. I fixed this by altering this code in library/Xenforo/Importer/MyBb.php:

    Code:
      protected function _convertGlobalPermissionsForGroup(array $group)
       {
         $perms = array();
    
         if ($group['canview'])
    
    To:

    Code:
      protected function _convertGlobalPermissionsForGroup(array $group)
      {
        $perms = array();
    
         if (!isset($group['canusesig']))
           $group['canusesig'] = false;
    
         if ($group['canview'])
    
     
    BamaStangGuy likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    It appears that this was added in MyBB 1.6.5, so I'm catching it now but it should probably default to being allowed.
     
    Jafo likes this.

Share This Page