Bug #479
Expired News articles are visible at Client Area of WHMCS
Status: | Resolved | Start date: | 21 Aug 2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% |
||
Category: | - | |||
Target version: | - |
Description
Expired News articles are visible at Client Area of WHMCS in the Announcements section.
History
Updated by Gurpreet Singh over 9 years ago
- File announcementlist.tpl added
Hi,
Fix: In whmcs\templates\kayako\announcementlist.tpl:
Just after foreach loop start, add the if condition:
{if $_newsItem.expiry==0 or $_newsItem.expiry>=($smarty.now)}
and just above the closing of foreachloop, add the {/if}.
PS. You may simply replace the attached file under the above said location as well.
Regards,
Updated by Gurpreet Singh over 9 years ago
- Status changed from New to Resolved