mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Explicitly check for request vars
This commit is contained in:
parent
fa9f66e140
commit
06f865beeb
@ -83,8 +83,8 @@ class ContactController extends Controller {
|
|||||||
$patch = $this->request->patch;
|
$patch = $this->request->patch;
|
||||||
$response = new JSONResponse();
|
$response = new JSONResponse();
|
||||||
|
|
||||||
$name = $patch['name'];
|
$name = isset($patch['name']) ? $patch['name'] : null;
|
||||||
$value = $patch['value'];
|
$value = isset($patch['value']) ? $patch['value'] : null;
|
||||||
$checksum = isset($patch['checksum']) ? $patch['checksum'] : null;
|
$checksum = isset($patch['checksum']) ? $patch['checksum'] : null;
|
||||||
$parameters = isset($patch['parameters']) ? $patch['parameters'] : null;
|
$parameters = isset($patch['parameters']) ? $patch['parameters'] : null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user