Skip to content

Commit 6f26eb9

Browse files
committed
Fixed a configuration warning check
1 parent 108b7e3 commit 6f26eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prestashop8.x/tawkto.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public function __construct()
4545

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

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

0 commit comments

Comments
 (0)