Skip to content

Commit

Permalink
more tests and some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Apr 24, 2024
1 parent c5e414c commit 5bdc7d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ on:
- cron: '0 0 1,15 * *'

jobs:
general_module_workflow:
general_module_workflow_php:
uses: Karaka-Management/Karaka/.github/workflows/php_template.yml@develop
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

general_module_workflow_js:
uses: Karaka-Management/Karaka/.github/workflows/js_template.yml@develop
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion Theme/Backend/profile-view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Modules\Admin\Models\ContactType;
use phpOMS\Localization\ISO3166NameEnum;
use phpOMS\Localization\ISO3166TwoEnum;
use phpOMS\Localization\NullLocalization;
use phpOMS\Uri\UriFactory;

/** @var \phpOMS\Views\View $this */
Expand All @@ -25,7 +26,7 @@
/** @var \Modules\Media\Models\Media[] $media */
$media = $this->data['media'] ?? [];

$l11n = $this->data['l11n'];
$l11n = $this->data['l11n'] ?? new NullLocalization();

echo $this->data['nav']->render();
?>
Expand Down

0 comments on commit 5bdc7d9

Please sign in to comment.