Skip to content

Commit

Permalink
Fix announcements expirations (Fusetalk)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaazKu committed Aug 30, 2016
1 parent c582715 commit 0b01a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fusetalk.php
Expand Up @@ -241,7 +241,7 @@ public function forumExport($ex) {
threads.iuserid as InsertUserID,
threads.dtinsertdate as DateInserted,
'HTML' as Format,
if (threads.vchalertthread = 'Yes', 2, 0) as Announce,
if (threads.vchalertthread = 'Yes' AND threads.dtstaydate > now(), 2, 0) as Announce,
if (threads.vchthreadlock = 'Locked', 1, 0) as Closed
from :_threads as threads
", $discussion_Map);
Expand Down

0 comments on commit 0b01a97

Please sign in to comment.