Stable merged into unstable again (due to failure on binary file during previous...
[fa-stable.git] / admin / gl_setup.php
index 1263be92747f82cce2063156f1beb066c195d0cd..fe494679a0ea6ff885175eceacacecfcf2810945 100644 (file)
@@ -83,6 +83,10 @@ start_form();
 start_outer_table(TABLESTYLE2);
 
 table_section(1);
+if (get_company_pref('grn_clearing_act') === null) { // available form 2.3.1, can be not defined on pre-2.4 installations
+       set_company_pref('grn_clearing_act', 'glsetup.purchase', 'varchar', 15, 0);
+       refresh_sys_prefs();
+}
 
 $myrow = get_company_prefs();