summaryrefslogtreecommitdiff
path: root/bin/admin.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 02:38:49 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 02:38:49 +0000
commitb193f4e3c1c2b4e826ed1004b8c64d5e6e991ba8 (patch)
tree79152cd1bc3296d7783ab0b060e10c127c02cdd6 /bin/admin.pl
parent1b13895ec6bd39568353c1a4d66d55f733f56734 (diff)
Moved %printer from ledger-smb.conf to Ledger::Sysconfig
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@281 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/admin.pl')
-rwxr-xr-xbin/admin.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index e1a6f420..5229d7e6 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -464,11 +464,11 @@ sub form_header {
$selectstylesheet .= "<option></option>\n";
- if (%printer && ${LedgerSMB::Sysconfig::latex}) {
+ if (%{LedgerSMB::Sysconfig::printer} && ${LedgerSMB::Sysconfig::latex}) {
$selectprinter = "<option></option>\n";
- foreach $item (sort keys %printer) {
+ foreach $item (sort keys %{LedgerSMB::Sysconfig::printer}) {
if ($myconfig->{printer} eq $item) {
$selectprinter .= qq|<option value="$item" selected>$item</option>\n|;