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