We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7044b70 + 32f36fa commit db370cfCopy full SHA for db370cf
etc/config/command.php
@@ -13,12 +13,7 @@
13
14
$tokenPassedIn = urldecode($_POST['token']);
15
$command = urldecode($_POST['command']);
16
-
17
- if (!empty($_POST['arguments'])) {
18
- $arguments = urldecode($_POST['arguments']);
19
- } else {
20
- $arguments = null;
21
- }
+ $arguments = urldecode($_POST['arguments']);
22
23
// Token returned will be null if the token we passed in is invalid
24
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();
0 commit comments