Skip to content
Snippets Groups Projects
Commit 428d365d authored by Kevin Saliou's avatar Kevin Saliou
Browse files

cs fix

parent fc83c0ec
No related merge requests found
......@@ -9,7 +9,7 @@
{
"name": "Kevin Saliou",
"email": "kevin@saliou.name",
"homepage": "http://kbsali.github.com"
"homepage": "http://kevin.saliou.name"
}
],
"require": {
......@@ -20,8 +20,5 @@
"psr-0": {
"Redmine": "lib/"
}
},
"config": {
"bin-dir": "bin/"
}
}
......@@ -329,8 +329,7 @@ class Client
}
if ('/uploads.json' === $path || '/uploads.xml' === $path) {
$httpHeader[] = 'Content-Type: application/octet-stream';
}
elseif ('json' === substr($tmp['path'], -4)) {
} elseif ('json' === substr($tmp['path'], -4)) {
$httpHeader[] = 'Content-Type: application/json';
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment