Skip to content

Commit 6e3f2a9

Browse files
committed
fix warning error on constructor, fix coding styles
1 parent b7ec3ce commit 6e3f2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bridges/php-local/LocalBridge/FileManagerApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function postHandler($query, $request, $files)
2828
$t = $this->translate;
2929

3030
// Probably file upload
31-
if (!isset($request['action']) AND (isset($_SERVER["CONTENT_TYPE"]) AND strpos($_SERVER["CONTENT_TYPE"], 'multipart/form-data') !== false)) {
31+
if (!isset($request['action']) && (isset($_SERVER["CONTENT_TYPE"]) && strpos($_SERVER["CONTENT_TYPE"], 'multipart/form-data') !== false)) {
3232
$uploaded = $this->uploadAction($request['destination'], $files);
3333
if ($uploaded === true) {
3434
$response = $this->simpleSuccessResponse();

0 commit comments

Comments
 (0)