Skip to content

Commit

Permalink
setMedia() compatible declaration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspijak committed Jan 7, 2019
1 parent 652b0ca commit 564c0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/admin/PrestaSmsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ public function __construct()
$this->ps_proxy = new PrestaSms\ProxyGenerator($this->controller_name, \Tools::getAdminTokenLite($this->controller_name));
}

public function setMedia()
public function setMedia($isNewTheme = false)
{
$this->addCSS(array(
$this->ps_module->getUrl('/dist/css/devices.min.css'),
$this->ps_module->getUrl('/'.(defined('BULKGATE_DEV_MODE') ? 'dev' : 'dist').'/css/bulkgate-prestasms.css'),
'https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i'
));
parent::setMedia();
parent::setMedia($isNewTheme);
}

protected function prestaSmsView($presenter, $action, $box = false)
Expand Down

0 comments on commit 564c0b1

Please sign in to comment.