Skip to content

Commit 5ba9c1b

Browse files
author
Shikha Mishra
authored
Updated Download.php
1 parent 1bb672c commit 5ba9c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Downloadable/Helper/Download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function setResource($resourceFile, $linkType = self::LINK_TYPE_FILE)
259259
/**
260260
* check header for urls
261261
*/
262-
if ($this->_linkType === self::LINK_TYPE_URL) {
262+
if ($linkType === self::LINK_TYPE_URL) {
263263
$headers = array_change_key_case(get_headers($this->_resourceFile, 1), CASE_LOWER);
264264
if(isset($headers['location'])){
265265
$this->_resourceFile = is_array($headers['location']) ? current($headers['location']):

0 commit comments

Comments
 (0)