Version 5.0.0 beta 9

This commit is contained in:
Neo committed 2025-12-19 17:47:00 -08:00
1 parent 214f649f1d
commit 56979f8ee8
202 files changed
+4403 -1123

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ class cleanup extends Task
}
/* ...and guest details stored with reports */
if( Settings::i()->report_guest_details_store_days )
if( (int) Settings::i()->report_guest_details_store_days > 0 )
{
Db::i()->update( 'core_rc_reports', [ 'guest_name' => null, 'guest_email' => null ], array( 'date_reported < ?', DateTime::create()->sub( new DateInterval( 'P' . \IPS\Settings::i()->report_guest_details_store_days . 'D' ) )->getTimestamp() ) );
}