We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ec3ce commit 6e3f2a9Copy full SHA for 6e3f2a9
bridges/php-local/LocalBridge/FileManagerApi.php
@@ -28,7 +28,7 @@ public function postHandler($query, $request, $files)
28
$t = $this->translate;
29
30
// Probably file upload
31
- if (!isset($request['action']) AND (isset($_SERVER["CONTENT_TYPE"]) AND strpos($_SERVER["CONTENT_TYPE"], 'multipart/form-data') !== false)) {
+ if (!isset($request['action']) && (isset($_SERVER["CONTENT_TYPE"]) && strpos($_SERVER["CONTENT_TYPE"], 'multipart/form-data') !== false)) {
32
$uploaded = $this->uploadAction($request['destination'], $files);
33
if ($uploaded === true) {
34
$response = $this->simpleSuccessResponse();
0 commit comments