Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Archive: Writer
* By Matt Mecham
* </pre>
@@ -104,6 +104,7 @@ class classes_archive_reader_sql extends classes_archive_reader
* forumId Get posts matching the (array) forum ids, (int) forum ID
* notForumId Get posts NOT matching the (array) forum ids, (int) forum ID
* postId Get posts matching the (array) post ids, (int) post id
* postDate Get posts matching the (array) post dates, (int) post date
* memberData Set memberData (this->memberData is used otherwise)
* onlyViewable Set whether this member can view them or not. (default is true ) NOTE: Will not check to see if parent topic is viewable!
* onlyVisible Set whether to skip unapproved posts where permission allows (default is true)
@@ -134,7 +135,14 @@ class classes_archive_reader_sql extends classes_archive_reader
$filters['postId'] = ( ! is_array( $filters['postId'] ) ) ? array( $filters['postId'] ) : $filters['postId'];
$where[] = "p.archive_id IN (" . implode( ',',$filters['postId'] ) . ")";
}
/* Posts */
if ( ! empty( $filters['postDate'] ) )
{
$filters['postDate'] = ( ! is_array( $filters['postDate'] ) ) ? array( $filters['postDate'] ) : $filters['postDate'];
$where[] = "p.archive_content_date IN (" . implode( ',',$filters['postDate'] ) . ")";
}
/* Topics */
if ( ! empty( $filters['topicId'] ) )
{