We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e366c5b commit a7b2d24Copy full SHA for a7b2d24
lib/GaletteLegalNotices/Entity/Settings.php
@@ -295,7 +295,7 @@ public function store(): bool
295
296
$stmt = $this->zdb->sql->prepareStatementForSqlObject($update);
297
298
- foreach (self::$defaults as $k => $v) {
+ foreach (array_keys(self::$defaults) as $k) {
299
Analog::log('Storing Legal Notices ' . $k, Analog::DEBUG);
300
301
$value = $this->settings[$k];
lib/GaletteLegalNotices/PluginGaletteLegalnotices.php
@@ -49,7 +49,6 @@ public static function getMenusContents(): array
49
global $login;
50
/** @var Db $zdb */
51
global $zdb;
52
- $settings = new Settings($zdb);
53
$menus = [];
54
$items = [];
55
0 commit comments