Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

+2 -2
View File
@@ -191,7 +191,7 @@ abstract class _Widget extends \IPS\Widget\PermissionCache
/* Date restrict */
$options = array( 'unlimited' => -1 );
if ( $class::databaseTableCount() AND $class::databaseTableCount() > \IPS\UPGRADE_LARGE_TABLE_SIZE )
if ( $class::databaseTableCount( TRUE ) > \IPS\UPGRADE_LARGE_TABLE_SIZE )
{
$options['unlimitedLang'] = 'search_year';
}
@@ -401,7 +401,7 @@ abstract class _Widget extends \IPS\Widget\PermissionCache
}
/* Limit to days */
if ( $class::databaseTableCount() > \IPS\UPGRADE_LARGE_TABLE_SIZE )
if ( $class::databaseTableCount( TRUE ) > \IPS\UPGRADE_LARGE_TABLE_SIZE )
{
if ( isset( $this->configuration['widget_feed_restrict_days'] ) and $this->configuration['widget_feed_restrict_days'] > 0 and $this->configuration['widget_feed_restrict_days'] <= 365 )
{