Skip to content

Commit

Permalink
Merge pull request #20182 from PierreRambaud/revert-bc
Browse files Browse the repository at this point in the history
Revert change from #18220, it breaks modules
  • Loading branch information
matks committed Jul 15, 2020
2 parents 2a41acb + 2de2aab commit f299969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/pdf/PDF.php
Expand Up @@ -169,13 +169,13 @@ public function render($display = true)
/**
* Get correct PDF template classes.
*
* @param ObjectModel $object
* @param mixed $object
*
* @return HTMLTemplate|false
*
* @throws PrestaShopException
*/
public function getTemplateObject(ObjectModel $object)
public function getTemplateObject($object)
{
$class = false;
$class_name = 'HTMLTemplate' . $this->template;
Expand Down

0 comments on commit f299969

Please sign in to comment.