Skip to content

Commit e5d04fa

Browse files
Shikha MishraAmol Chaudhari
authored andcommitted
Updated Download.php
1 parent be3a545 commit e5d04fa

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
@@ -261,7 +261,7 @@ public function setResource($resourceFile, $linkType = self::LINK_TYPE_FILE)
261261
/**
262262
* check header for urls
263263
*/
264-
if ($this->_linkType === self::LINK_TYPE_URL) {
264+
if ($linkType === self::LINK_TYPE_URL) {
265265
$headers = array_change_key_case(get_headers($this->_resourceFile, 1), CASE_LOWER);
266266
if(isset($headers['location'])){
267267
$this->_resourceFile = is_array($headers['location']) ? current($headers['location']):

0 commit comments

Comments
 (0)