Fix issue where user cannot update policy contents. #263
This commit is contained in:
parent
417bd3c0e1
commit
f1f6db475c
1 changed files with 2 additions and 1 deletions
|
|
@ -205,7 +205,8 @@ class PrivacyPolicyController extends Controller
|
||||||
throw $this->createNotFoundException('The item does not exist');
|
throw $this->createNotFoundException('The item does not exist');
|
||||||
|
|
||||||
// set and save values
|
// set and save values
|
||||||
$row->setName($req->request->get('name'));
|
$row->setName($req->request->get('name'))
|
||||||
|
->setContent($req->request->get('content'));
|
||||||
|
|
||||||
// validate
|
// validate
|
||||||
$errors = $validator->validate($row);
|
$errors = $validator->validate($row);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue