Skip to content

Commit 26df2fa

Browse files
authored
Merge branch 'develop' into db_mftfdocs
2 parents 537ffe8 + db370cf commit 26df2fa

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

etc/config/command.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@
1313

1414
$tokenPassedIn = urldecode($_POST['token']);
1515
$command = urldecode($_POST['command']);
16-
17-
if (!empty($_POST['arguments'])) {
18-
$arguments = urldecode($_POST['arguments']);
19-
} else {
20-
$arguments = null;
21-
}
16+
$arguments = urldecode($_POST['arguments']);
2217

2318
// Token returned will be null if the token we passed in is invalid
2419
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();

0 commit comments

Comments
 (0)