Version 4.7.6

This commit is contained in:
Neo committed 2025-12-19 16:05:19 -08:00
1 parent 8ba7d43898
commit 7b7404e741
1085 files changed
+30590 -7837

No files matched your search

+17 -2
View File
@@ -560,8 +560,23 @@ class _Post extends \IPS\Content\Comment implements \IPS\Content\EditHistory, \I
public function webhookFilters()
{
$return = parent::webhookFilters();
$return['forums'] = $this->item()->container()->_id;
$return['hasBestAnswer'] = (bool) $this->item()->topic_answered_pid;
try
{
$return['forums'] = $this->item()->container()->_id;
$return['hasBestAnswer'] = (bool) $this->item()->topic_answered_pid;
}
catch( \OutOfRangeException $e ) {}
return $return;
}
/**
* Is this a future entry?
*
* @return bool
*/
public function isFutureDate()
{
return $this->item()->isFutureDate();
}
}