Fix misordering of params in readfile function

This commit is contained in:
Duncan Sommerville 2015-02-03 16:23:26 -05:00
parent b5f6077c04
commit d5477dfb5b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class ApiController extends Zend_Controller_Action
$size = $storedFile->getFileSize();
$mimeType = $storedFile->getPropelOrm()->getDbMime();
$this->smartReadFile($filepath, $size, $mimeType);
$this->smartReadFile($filepath, $mimeType, $size);
}