Index: branches/5.2.x/core/units/email_events/email_events_config.php =================================================================== diff -u -N -r13840 -r14092 --- branches/5.2.x/core/units/email_events/email_events_config.php (.../email_events_config.php) (revision 13840) +++ branches/5.2.x/core/units/email_events/email_events_config.php (.../email_events_config.php) (revision 14092) @@ -1,6 +1,6 @@ Array ( - 'Groups' => Array ( - Array ('mode' => 'AND', 'filters' => Array ('show_enabled', 'show_disabled', 'show_frontonly'), 'type' => WHERE_FILTER), - ), - - 'Filters' => Array ( - 'show_enabled' => Array ('label' =>'la_Enabled', 'on_sql' => '', 'off_sql' => '%1$s.Enabled != 1' ), - 'show_disabled' => Array ('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Enabled != 0' ), - 'show_frontonly' => Array ('label' => 'la_Text_FrontOnly', 'on_sql' => '', 'off_sql' => '%1$s.Enabled != 2' ), - ) - ), - 'TableName' => TABLE_PREFIX . 'Events', 'ListSQLs' => Array ( @@ -196,7 +184,7 @@ 'not_null' => 1, 'required' => 1, 'default' => 'Core' ), - 'Description' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), + 'Description' => Array ('type' => 'string', 'default' => NULL), 'Type' => Array ( 'type' => 'int', @@ -209,13 +197,13 @@ 'RecipientType' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'To', 2 => 'Cc', 3 => 'Bcc'), - 'not_null' => 1, 'default' => 1 + 'default' => 1 ), - 'RecipientName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), + 'RecipientName' => Array ('type' => 'string', 'max_len' => 255, 'default' => ''), 'RecipientAddressType' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_opt_Email', 2 => 'la_opt_User', 3 => 'la_opt_Group'), 'use_phrases' => 1, - 'not_null' => 1, 'error_field' => 'RecipientAddress', 'default' => 0 + 'error_field' => 'RecipientAddress', 'default' => 0 ), 'RecipientAddress' => Array ( 'type' => 'string', 'max_len' => 255, @@ -224,7 +212,7 @@ 'invalid_user' => '!la_error_UserNotFound!', 'invalid_group' => '!la_error_GroupNotFound!', ), - 'not_null' => 1, 'default' => '' + 'default' => '' ), 'Tag' => Array ('type' => 'string', 'default' => ''),