[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/barcodes label-edit-template.pl [dev_week]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/barcodes label-edit-template.pl [dev_week] |
Date: |
Tue, 10 Jul 2007 03:10:54 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/07/10 03:10:54
Modified files:
barcodes : label-edit-template.pl
Log message:
small fix, template sub use tmpl_id as arg, not tmpl_code
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-edit-template.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2&r2=1.1.2.3
Patches:
Index: label-edit-template.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/Attic/label-edit-template.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- label-edit-template.pl 6 Oct 2006 01:58:47 -0000 1.1.2.2
+++ label-edit-template.pl 10 Jul 2007 03:10:54 -0000 1.1.2.3
@@ -14,7 +14,8 @@
my $dbh = C4::Context->dbh;
my $query = new CGI;
-my $tmpl_code = $query->param('tmpl_code');
+
+my $tmpl_id = $query->param('tmpl_id');
my $width = $query->param('width');
my $height = $query->param('height');
@@ -36,7 +37,7 @@
}
);
-my $tmpl = GetSingleLabelTemplate($tmpl_code);
+my $tmpl = GetSingleLabelTemplate($tmpl_id);
warn Dumper $tmpl;
my @units = (
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/barcodes label-edit-template.pl [dev_week],
Mason James <=