mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
fix: akismet fails when the extension is not on a version
This commit is contained in:
parent
1a81c98d43
commit
45d91212f6
|
@ -38,7 +38,7 @@ class AkismetProvider extends AbstractServiceProvider
|
|||
$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()
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user