fix: ajax
Bug fix, add flush for reference data
This commit is contained in:
1 parent
9aa49c9c2c
commit
6369f5c7b9
1 file changed
+1
@@ -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.']);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user