Another one bites the dust
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Oct 2021 03:58:10 +0000 (16:58 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Oct 2021 03:58:34 +0000 (16:58 +1300)
templates/CRM/Mailing/Page/Browse.tpl

index 448cd77bdb467fe9bfc1ad6a6dd811c2a1e1e2e8..ad5a0b8d41bedb41f0cad10790250cddf2713fc0 100644 (file)
       <thead class="sticky">
       {foreach from=$columnHeaders item=header}
         <th>
-          {if $header.sort}
+          {if !empty($header.sort)}
             {assign var='key' value=$header.sort}
             {$sort->_response.$key.link}
-          {else}
+          {elseif !empty($header.name)}
             {$header.name}
           {/if}
         </th>