We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74eb51 commit 4551d9cCopy full SHA for 4551d9c
interface/web/mail/mail_domain_edit.php
@@ -332,7 +332,7 @@ function onSubmit() {
332
}
333
334
// Extract the dkim public key if not submitted.
335
- if (!empty($this->dataRecord['dkim_private']) && empty( $this->dataRecord['dkim_public']) ) {
+ if (!empty($this->dataRecord['dkim_private']) && empty( $this->dataRecord['dkim_public']) && function_exists('openssl_pkey_get_details')) {
336
$this->dataRecord['dkim_public'] = openssl_pkey_get_details(openssl_pkey_get_private($this->dataRecord['dkim_private']))['key'];
337
338
0 commit comments