Skip to content

Commit

Permalink
fixed bug in control panel
Browse files Browse the repository at this point in the history
was prepared for new function to control how empty blocks are handled
  • Loading branch information
hartenthaler committed Jun 20, 2021
1 parent 32fa0a7 commit cb27ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion latest-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.16.21
2.0.16.22
4 changes: 2 additions & 2 deletions module.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ExtendedFamilyTabModule extends AbstractModule implements ModuleTabInterfa

public const CUSTOM_WEBSITE = 'https://github.com/hartenthaler/' . self::CUSTOM_MODULE . '/';

public const CUSTOM_VERSION = '2.0.16.21';
public const CUSTOM_VERSION = '2.0.16.22';

public const CUSTOM_LAST = 'https://github.com/hartenthaler/' . self::CUSTOM_MODULE. '/raw/main/latest-version.txt';

Expand Down Expand Up @@ -1040,7 +1040,7 @@ public function postAdminAction(ServerRequestInterface $request): ResponseInterf
foreach ($preferencesfamilyparts as $familypart) {
$this->setPreference($familypart, $params[$familypart]);
}
$this->setPreference('showEmptyBlock', $params['showEmptyBlock']);
//$this->setPreference('showEmptyBlock', $params['showEmptyBlock']);
FlashMessages::addMessage(I18N::translate('The preferences for the module “%s” have been updated.', $this->title()), 'success');
}

Expand Down

0 comments on commit cb27ff0

Please sign in to comment.