• 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

Jafo

Active member
#1
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'])
 

Mike

XenForo developer
Staff member
#2
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.