Fix error during installation

pull/2944/head
Julio 6 years ago
parent e02700fa20
commit 28df2ad87a
  1. 3
      main/inc/lib/usermanager.lib.php

@ -374,9 +374,8 @@ class UserManager
UrlManager::add_user_to_url($userId, 1);
}
$extra['item_id'] = $userId;
if (is_array($extra) && count($extra) > 0) {
$extra['item_id'] = $userId;
$courseFieldValue = new ExtraFieldValue('user');
$courseFieldValue->saveFieldValues($extra);
} else {

Loading…
Cancel
Save