diff --git a/etc/config/command.php b/etc/config/command.php index bc8688c21..047af324a 100644 --- a/etc/config/command.php +++ b/etc/config/command.php @@ -13,12 +13,7 @@ $tokenPassedIn = urldecode($_POST['token']); $command = urldecode($_POST['command']); - - if (!empty($_POST['arguments'])) { - $arguments = urldecode($_POST['arguments']); - } else { - $arguments = null; - } + $arguments = urldecode($_POST['arguments']); // Token returned will be null if the token we passed in is invalid $tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();