|
@@ 475-478 (lines=4) @@
|
| 472 |
|
$userInfo = array(); |
| 473 |
|
$userInfoByOfficialCode = null; |
| 474 |
|
|
| 475 |
|
if (!empty($user_id)) { |
| 476 |
|
$userInfo = api_get_user_info($user_id); |
| 477 |
|
$userInfoByOfficialCode = api_get_user_info_from_official_code($row['official_code']); |
| 478 |
|
} |
| 479 |
|
|
| 480 |
|
if (empty($userInfo) && empty($userInfoByOfficialCode)) { |
| 481 |
|
// Create user |
|
@@ 636-639 (lines=4) @@
|
| 633 |
|
|
| 634 |
|
$userInfo = array(); |
| 635 |
|
$userInfoByOfficialCode = null; |
| 636 |
|
if (!empty($user_id)) { |
| 637 |
|
$userInfo = api_get_user_info($user_id, false, true); |
| 638 |
|
$userInfoByOfficialCode = api_get_user_info_from_official_code($row['official_code']); |
| 639 |
|
} |
| 640 |
|
|
| 641 |
|
if (empty($userInfo) && empty($userInfoByOfficialCode)) { |
| 642 |
|
// Create user |