Skip to content

Commit

Permalink
fix: akismet fails when the extension is not on a version
Browse files Browse the repository at this point in the history
  • Loading branch information
luceos committed Nov 9, 2022
1 parent 7803143 commit 79edc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/AkismetProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function register()
$settings->get('flarum-akismet.api_key'),
$url->to('forum')->base(),
$app::VERSION,
$extensions->getExtension('flarum-akismet')->getVersion(),
$extensions->getExtension('flarum-akismet')->getVersion() ?? 'unknown',
$config->inDebugMode()
);
});
Expand Down

0 comments on commit 79edc24

Please sign in to comment.