Fix fetching of phones associated to companies
[platal.git] / templates / marketing / promo.tpl
index d95171d..0cdf5a2 100644 (file)
@@ -51,7 +51,7 @@
       <td class="center">
         {if $it->lastMarketingRelance() && $it->lastMarketingRelance() != '0000-00-00'}
         Relance le&nbsp;: {$it->lastMarketingRelance()}
-        {elseif $it.email}
+        {elseif $it->lastKnownEmail()}
         En cours&nbsp;: {$it->lastKnownEmail()}
         {else}
         -