Correct syntax error, fixes #2

This commit is contained in:
Miguel Nogueira 2018-06-08 15:00:29 +00:00
parent 624d9444b0
commit 603245498c
1 changed files with 1 additions and 7 deletions

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;
}