Explorar o código

*Add empty check

Derrick Hammer %!s(int64=9) %!d(string=hai) anos
pai
achega
0ee268dc0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/templates/admin/list_web.html

+ 1 - 1
web/templates/admin/list_web.html

@@ -248,7 +248,7 @@ sort-name="<?=$key?>"  sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
                   <? } ?>
                 </td>
                   <td>
-                      <? if($data[$key]['LETSENCRYPT'] == 'no'){ ?>
+                      <? if(empty($data[$key]['LETSENCRYPT']) || $data[$key]['LETSENCRYPT'] == 'no') { ?>
                       <div class="l-unit__stat-cols clearfix disabled"><?=__('Lets Encrypt Support')?></div>
                       <? } else {?>
                       <div class="l-unit__stat-cols clearfix">