Browse code

acc: docs for acc_extra_nullable parameter

Daniel-Constantin Mierla authored on 03/11/2020 14:00:54
Showing 1 changed files
... ...
@@ -623,6 +623,25 @@ modparam("acc", "acc_prepare_flag", 5)
623 623
 ...
624 624
 modparam("acc", "acc_prepare_always", 1)
625 625
 ...
626
+</programlisting>
627
+		</example>
628
+	</section>
629
+	<section id="acc.p.acc_extra_nullable">
630
+		<title><varname>acc_extra_nullable</varname> (integer)</title>
631
+		<para>
632
+			If set to 1, the database acc extra fields are set to NULL if the
633
+			corresponding script variable is not defined or has $null value. If
634
+			set to 0, the value is saved as empty string (the existing behavior).
635
+		</para>
636
+		<para>
637
+		Default value is 0.
638
+		</para>
639
+		<example>
640
+		<title>acc_extra_nullable example</title>
641
+		<programlisting format="linespecific">
642
+...
643
+modparam("acc", "acc_extra_nullable", 1)
644
+...
626 645
 </programlisting>
627 646
 		</example>
628 647
 	</section>