Skip to content
Snippets Groups Projects
Commit f54c767d authored by Bart Visscher's avatar Bart Visscher
Browse files

Fix parameter of OC_Response::sendFile

parent bcbebe39
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ class OC_Response {
* @brief Send file as response, checking and setting caching headers
* @param $filepath of file to send
*/
static public function sendFile($filepath=null) {
static public function sendFile($filepath) {
$fp = fopen($filepath, 'rb');
if ($fp) {
self::setLastModifiedHeader(filemtime($filepath));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment