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.
2 parents 46edad9 + c830ae5 commit 9539e9bCopy full SHA for 9539e9b
interface/web/mail/ajax_get_json.php
@@ -51,7 +51,7 @@
51
unset($rec);
52
$mail_config = $app->getconf->get_server_config($server_id, 'mail');
53
$dkim_strength = $app->functions->intval($mail_config['dkim_strength']);
54
- if ($dkim_strength=='') $dkim_strength = 2048;
+ if ($dkim_strength == '' || $dkim_strength == 0 ) $dkim_strength = 2048;
55
56
$rnd_val = $dkim_strength * 10;
57
$app->system->exec_safe('openssl rand -out ../../temp/random-data.bin '.$rnd_val.' 2> /dev/null');
0 commit comments