From 603245498cd71436ccf116626f9348794d9321c9 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Fri, 8 Jun 2018 15:00:29 +0000 Subject: [PATCH] Correct syntax error, fixes #2 --- source/defs/Hookmanager/Hookmanager.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; }