diff options
Diffstat (limited to 'lib/JWebmail/Plugin/I18N.pm')
-rw-r--r-- | lib/JWebmail/Plugin/I18N.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/JWebmail/Plugin/I18N.pm b/lib/JWebmail/Plugin/I18N.pm index 32ac917..6d58932 100644 --- a/lib/JWebmail/Plugin/I18N.pm +++ b/lib/JWebmail/Plugin/I18N.pm @@ -14,6 +14,7 @@ has '_language_loaded' => sub { {} }; sub register { my ($self, $app, $conf) = @_; + $conf //= {}; my $i18n_log = $app->log->context('[' . __PACKAGE__ . ']'); |