Поле spec_id добавляется в структуру
This commit is contained in:
parent
9ae73e81cf
commit
992a16dac9
@ -93,11 +93,10 @@ foreach ($sites as $site) {
|
||||
$needle = $con['spec_code'];
|
||||
foreach ($specializations as $spec) {
|
||||
if ($needle == $spec['kod']) {
|
||||
$contingent[$key]['spec_id'] = $spec['id'];
|
||||
continue;
|
||||
$con['spec_id'] = $spec['id'];
|
||||
}
|
||||
}
|
||||
$contingent[$key]['spec_id'] = null;
|
||||
$contingent[$key]['spec_id'] = $con['spec_id'];
|
||||
}
|
||||
|
||||
// Добавляем поле org_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user