diff --git a/source/defs/Hookmanager/Hookmanager.php b/source/defs/Hookmanager/Hookmanager.php index a7047a6..43bc50b 100644 --- a/source/defs/Hookmanager/Hookmanager.php +++ b/source/defs/Hookmanager/Hookmanager.php @@ -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; }