Skip to content

Commit

Permalink
Update plugins/system/jooa11y/src/Extension/Jooa11y.php
Browse files Browse the repository at this point in the history
Co-authored-by: Quy <quy@nomonkeybiz.com>
  • Loading branch information
adamchaboryk and Quy committed Feb 10, 2024
1 parent ed2dddc commit 757661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/jooa11y/src/Extension/Jooa11y.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function initJooa11y()
// Get the right locale
$splitLang = explode('-', $getLang);
$lang = $splitLang[0];
$country = isset($splitLang[1]) ? $splitLang[1] : '';
$country = $splitLang[1] ?? '';

// Sa11y is available in the following languages
$supportedLang = [
Expand Down

0 comments on commit 757661e

Please sign in to comment.