Skip to content

Commit b77f2c8

Browse files
Art4kbsali
andauthored
Update src/Redmine/Client/ClientApiTrait.php
Co-authored-by: Kevin Saliou <[email protected]>
1 parent 360d73d commit b77f2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redmine/Client/ClientApiTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private function isUploadCall(string $path): bool
5858
{
5959
$path = strtolower($path);
6060

61-
return (false !== strpos($path, '/uploads.json')) or (false !== strpos($path, '/uploads.xml'));
61+
return (false !== strpos($path, '/uploads.json')) || (false !== strpos($path, '/uploads.xml'));
6262
}
6363

6464
private function isUploadCallAndFilepath(string $path, string $body): bool

0 commit comments

Comments
 (0)