Skip to content

Commit 52e4f5b

Browse files
author
Mark Williams
committed
Fix download of Dispensing CSV button
1 parent 9618abb commit 52e4f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/Page/Download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ function _dispensing_csv()
356356
}
357357
$dropsPerWell = $plate["CAPACITY"] / (count($rowNames) * $plate["WELLPERROW"]);
358358
$this->app->response->headers->set("Content-type", "text/csv");
359-
$this->_set_disposition_attachment($this->app->response, $plate["CODE"] . "_targets.csv");
359+
Utils::setDispositionAttachment($this->app->response, $plate["CODE"] . "_targets.csv");
360360
list($width, $height, $type, $attr) = getimagesize($plate['IMAGEFULLPATH']);
361361
foreach ($rows as $r) {
362362
if (!isset($r["POSX"]) || !isset($r["POSY"])) {

0 commit comments

Comments
 (0)