Version 4.1.2

This commit is contained in:
Neo committed 2025-12-19 05:32:19 -08:00
1 parent 3ba79295ee
commit 28bd025b35
1131 files changed
+63658 -20579

No files matched your search

+7 -3
View File
@@ -83,9 +83,13 @@ class _announcements extends \IPS\Widget
{
foreach( $contentRouter->classes AS $class )
{
$clauses[] = '( announce_location=? AND ( ' . \IPS\Db::i()->findInSet( 'announce_ids', array( $class::load( \IPS\Request::i()->$id )->mapped('container') ) ) . ' OR announce_ids=? ) )';
$params[] = $key;
$params[] = '0';
try
{
$clauses[] = '( announce_location=? AND ( ' . \IPS\Db::i()->findInSet( 'announce_ids', array( $class::load( \IPS\Request::i()->$id )->mapped('container') ) ) . ' OR announce_ids=? ) )';
$params[] = $key;
$params[] = '0';
}
catch( \OutOfRangeException $e ){}
break 2;
}
}