Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

@@ -31,9 +31,9 @@ class _{class}
* Get Setting Field
*
* @param \IPS\core\Announcements\Announcement $announcement
* @return Form element
* @return \IPS\Helpers\Form\FormAbstract Form element
*/
public function getSettingField( $announcement )
public function getSettingField( ?\IPS\core\Announcements\Announcement $announcement ): \IPS\Helpers\Form\FormAbstract
{
return new \IPS\Helpers\Form\Node( 'announce_download_categories', ( $announcement ) ? explode( ",", $announcement->ids ) : NULL, FALSE, array( 'class' => 'IPS\downloads\Category', 'zeroVal' => 'any', 'multiple' => TRUE ), NULL, NULL, NULL, 'announce_download_categories' );
}