Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

@@ -102,8 +102,13 @@ class _solvedNotifications extends \IPS\Task
if ( $topic->canView( $topic->author() ) )
{
$replies = $topic->comments( 4, 0, 'date', 'asc' );
$firstPost = array_shift( $replies );
$firstPost = $topic->comments( 1, 0, 'date', 'asc' );
$replies = $topic->comments( 3, 0, 'date', 'asc', NULL, NULL, NULL, array( 'author_id !=?', $topic->author()->member_id ) );
if( !count( $replies ) )
{
continue;
}
\IPS\Email::buildFromTemplate( 'core', 'solved_reengagement', array($topic, $firstPost, $replies), \IPS\Email::TYPE_TRANSACTIONAL )->send( $topic->author() );
}