Merge branch 'fronkdev' into 'master'
Fixed oaid assignment in rimo See merge request fronk/thetool!2013
This commit is contained in:
@@ -173,7 +173,11 @@ class OpenAccessId extends mfBaseModel {
|
||||
$resp_data = Rimoapi::assignOaid($this->oaid, $ftu_data['id']);
|
||||
|
||||
// update OAID export data
|
||||
|
||||
$exp_data_update = json_decode($this->export_data);
|
||||
if(!property_exists($exp_data_update, "rimo")) {
|
||||
$exp_data_update->rimo = new StdClass();
|
||||
}
|
||||
$exp_data_update->rimo->ftu_id = $ftu_data['id'];
|
||||
$exp_data_update->rimo->ftu_name = $ftu_data['name'];
|
||||
$exp_data_update->rimo->ftu_assigned_date = date("U");
|
||||
|
||||
Reference in New Issue
Block a user