mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 06:46:05 -04:00
Don't fail when trying to import site admin group. Resolves ticket #249
This commit is contained in:
@@ -121,7 +121,9 @@ class g2_import_Core {
|
||||
break;
|
||||
}
|
||||
|
||||
self::set_map($g2_group->getId(), $group->id);
|
||||
if (isset($group)) {
|
||||
self::set_map($g2_group->getId(), $group->id);
|
||||
}
|
||||
}
|
||||
|
||||
static function import_user(&$queue) {
|
||||
|
||||
Reference in New Issue
Block a user