Skip to content
Snippets Groups Projects
Commit 7ae4f309 authored by Anton Bagliy's avatar Anton Bagliy
Browse files

Merge branch 'hotfix/v2.4.9'

parents 285d55f6 dfe17f38
Branches
Tags
No related merge requests found
......@@ -215,6 +215,7 @@ class Controller_Api_V0_Student extends Controller_Handler_Api
// todo проверка отличается от остальных
if (empty($student->ExternalID)) {
$student->ExternalID = $studentData->externalID;
$student->LastName = $studentData->lastName;
$student->update();
}
} else {
......
......@@ -5,7 +5,7 @@
*
* @property-read $ID int
* @property $ExternalID string
* @property-read $LastName string
* @property $LastName string
* @property-read $FirstName string
* @property $SecondName string
* @property-read $AccountID int
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment