mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-28 10: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;
|
||||
$response = new JSONResponse();
|
||||
|
||||
$name = $patch['name'];
|
||||
$value = $patch['value'];
|
||||
$name = isset($patch['name']) ? $patch['name'] : null;
|
||||
$value = isset($patch['value']) ? $patch['value'] : null;
|
||||
$checksum = isset($patch['checksum']) ? $patch['checksum'] : null;
|
||||
$parameters = isset($patch['parameters']) ? $patch['parameters'] : null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user