Browse code

Always set nc_sent to 1 for new or copied news

Benjamin Roth authored on06/04/2023 16:02:34
Showing1 changed files
... ...
@@ -30,6 +30,7 @@ $GLOBALS['TL_DCA']['tl_news']['fields']['nc_sent'] = array
30 30
 (
31 31
   'exclude'                 => true,
32 32
   'inputType'               => 'checkbox',
33
+  'default'                 => 1,
33 34
   'eval'                    => array('doNotCopy'=>true),
34 35
   'sql'                     => "char(1) NOT NULL default '1'"
35 36
 );