@@ -127,7 +127,7 @@ class Index extends Api
$this->userlinkModel->saveAll($userlinkdata);
$this->recordModel->saveAll($savedata);
$userlinkdata = [];
- $savedata == [];
+ $savedata = [];
Db::commit();
Db::startTrans();
}