Skip to content

Commit

Permalink
Fixed a configuration warning check
Browse files Browse the repository at this point in the history
  • Loading branch information
ZaDarkSide committed Jan 17, 2024
1 parent 108b7e3 commit 6f26eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prestashop8.x/tawkto.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public function __construct()

$this->confirmUninstall = $this->l('Are you sure you want to uninstall?');

if (!Configuration::get('MYMODULE_NAME')) {
$this->warning = $this->l('No name provided');
if (!Configuration::get(self::TAWKTO_SELECTED_WIDGET)) {
$this->warning = $this->l('No widget selected');
}
}

Expand Down

0 comments on commit 6f26eb9

Please sign in to comment.