fix: ajax
Bug fix, add flush for reference data
This commit is contained in:
parent
9aa49c9c2c
commit
6369f5c7b9
@ -248,6 +248,7 @@ class AjaxController extends AbstractController
|
||||
if ($ref) {
|
||||
$ref->setContent($data->text);
|
||||
$emi->persist($ref);
|
||||
$emi->flush();
|
||||
$res = $this->json(['msg' => 'Reference updated.']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user