Correct syntax error, fixes #2

This commit is contained in:
Miguel Nogueira 2018-06-08 15:00:29 +00:00
parent 624d9444b0
commit 603245498c

View File

@ -172,13 +172,7 @@ class Hookmanager
private function getStructuredVariableList(Request $request)
{
$PDATA = $request->getParsedBody();
$dArr = [];
foreach($PDATA as $key => $param)
{
$dArr[$key => $param]; // Turn parsed body into an array.
}
$dArr = $PDATA;
return $dArr;
}