|
@@ 419-422 (lines=4) @@
|
| 416 |
|
$userInfo = array(); |
| 417 |
|
$userInfoByOfficialCode = null; |
| 418 |
|
|
| 419 |
|
if (!empty($user_id)) { |
| 420 |
|
$userInfo = api_get_user_info($user_id); |
| 421 |
|
$userInfoByOfficialCode = api_get_user_info_from_official_code($row['official_code']); |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
if (empty($userInfo) && empty($userInfoByOfficialCode)) { |
| 425 |
|
// Create user |
|
@@ 577-580 (lines=4) @@
|
| 574 |
|
|
| 575 |
|
$userInfo = array(); |
| 576 |
|
$userInfoByOfficialCode = null; |
| 577 |
|
if (!empty($user_id)) { |
| 578 |
|
$userInfo = api_get_user_info($user_id, false, true); |
| 579 |
|
$userInfoByOfficialCode = api_get_user_info_from_official_code($row['official_code']); |
| 580 |
|
} |
| 581 |
|
|
| 582 |
|
if (empty($userInfo) && empty($userInfoByOfficialCode)) { |
| 583 |
|
// Create user |