Correct syntax error, fixes #2
This commit is contained in:
parent
624d9444b0
commit
603245498c
|
@ -172,13 +172,7 @@ class Hookmanager
|
||||||
private function getStructuredVariableList(Request $request)
|
private function getStructuredVariableList(Request $request)
|
||||||
{
|
{
|
||||||
$PDATA = $request->getParsedBody();
|
$PDATA = $request->getParsedBody();
|
||||||
$dArr = [];
|
$dArr = $PDATA;
|
||||||
|
|
||||||
foreach($PDATA as $key => $param)
|
|
||||||
{
|
|
||||||
$dArr[$key => $param]; // Turn parsed body into an array.
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
return $dArr;
|
return $dArr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue