X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=patroncards%2Fmanage.pl;h=71e1b82eeb614777ded23fcc04e12e9618504751;hb=a7a4d39697bf52ad805fadd53d388b4530568774;hp=7e07139acdbac1f44509f90cb8eb575e9ddd51ae;hpb=cf174a2749f2fda30f33f9029afbb14386cd711d;p=koha.git diff --git a/patroncards/manage.pl b/patroncards/manage.pl index 7e07139acd..71e1b82eeb 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -14,9 +14,9 @@ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; @@ -73,7 +73,7 @@ my $display_columns = { layout => [ # db column => {col label }; my $errstr = ($cgi->param('error') ? $cgi->param('error') : ''); -my $branch_code = ($card_element eq 'batch' ? get_branch_code_from_name($template->param('LoginBranchname')) : ''); +my $branch_code = ($card_element eq 'batch' ? get_branch_code_from_name($template->{VARS}->{'LoginBranchname'}) : ''); if ($op eq 'delete') { my $err = 0;