Commit c687c9bb authored by Franco Fichtner's avatar Franco Fichtner

system: fix crash report in previous

parent deda19dc
...@@ -378,7 +378,7 @@ include("head.inc"); ...@@ -378,7 +378,7 @@ include("head.inc");
<?php <?php
$ciphers = json_decode(configd_run("system ssl ciphers"), true); $ciphers = json_decode(configd_run("system ssl ciphers"), true);
foreach ($ciphers as $cipher => $cipher_data):?> foreach ($ciphers as $cipher => $cipher_data):?>
<option value="<?=$cipher;?>" <?=in_array($cipher, $pconfig['ssl-ciphers']) ? 'selected="selected"' : '';?>> <option value="<?=$cipher;?>" <?= !empty($pconfig['ssl-ciphers']) && in_array($cipher, $pconfig['ssl-ciphers']) ? 'selected="selected"' : '' ?>>
<?=!empty($cipher_data['description']) ? $cipher_data['description'] : $cipher;?> <?=!empty($cipher_data['description']) ? $cipher_data['description'] : $cipher;?>
</option> </option>
<?php <?php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment