Version 5.0.14

This commit is contained in:
Neo committed 2025-12-19 19:17:57 -08:00
1 parent 5efe744c5f
commit dbd774b30c
364 files changed
+7048 -1377

No files matched your search

+11
View File
@@ -19,6 +19,7 @@ use IPS\Content\Comment;
use IPS\Content\Filter;
use IPS\Content\Item;
use IPS\Content\Reaction;
use IPS\Content\Search\Index;
use IPS\Content\Taggable;
use IPS\DateTime;
use IPS\Db;
@@ -1053,6 +1054,16 @@ class Content extends Table
if( $modified )
{
$object->setTags( $currentTags );
/* And make sure we index it! */
if( $object instanceof Item and $object::$firstCommentRequired )
{
Index::i()->index( $object->firstComment() );
}
else
{
Index::i()->index( $object );
}
}
}
catch( OutOfRangeException ){}