summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--bin/gl.pl2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 11869808..622a2d32 100644
--- a/Changelog
+++ b/Changelog
@@ -8,6 +8,7 @@ Changelog for LedgerSMB 1.3.0
* New UI and template system using TT (Seneca)
* Form.pm deprecated. New Object Oriented and data-driven model (Chris T)
* Added ledgersmb-smallgray.css (Jeff K)
+* GL reference now populated by default in the initial screen (Chris T).
Changelog for LedgerSMB 1.2.0
diff --git a/bin/gl.pl b/bin/gl.pl
index fc1c9669..f5b9d55b 100644
--- a/bin/gl.pl
+++ b/bin/gl.pl
@@ -111,7 +111,7 @@ sub add {
unless $form->{callback};
&create_links;
-
+ $form->{reference} = $form->update_defaults(\%myconfig, 'glnumber');
$form->{rowcount} = ( $form->{transfer} ) ? 3 : 9;
if ( $form->{pos_adjust} ) {
&pos_adjust;