Skip to content

Commit

Permalink
Avoid to use unavailable $data var in Curl HTTP Client
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Dec 5, 2022
1 parent c7547af commit 766b7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mage/HTTP/Client/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ protected function validateHttpVersion(array $line)

return;
}
$this->doError('Invalid response line returned from server: ' . $data);
$this->doError('Invalid response line returned from server: ' . implode(' ', $line));
}

/**
Expand Down

0 comments on commit 766b7bb

Please sign in to comment.