[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha ISBDdetail.pl [rel_2_2]
From: |
Henri-Damien LAURENT |
Subject: |
[Koha-cvs] koha ISBDdetail.pl [rel_2_2] |
Date: |
Mon, 16 Jul 2007 15:19:28 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Henri-Damien LAURENT <hdl> 07/07/16 15:19:28
Modified files:
. : ISBDdetail.pl
Log message:
Bug Fixing... If userenv was not defined, threw an error 500
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/ISBDdetail.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.4.2.8&r2=1.4.2.9
Patches:
Index: ISBDdetail.pl
===================================================================
RCS file: /sources/koha/koha/Attic/ISBDdetail.pl,v
retrieving revision 1.4.2.8
retrieving revision 1.4.2.9
diff -u -b -r1.4.2.8 -r1.4.2.9
--- ISBDdetail.pl 12 Apr 2007 13:05:13 -0000 1.4.2.8
+++ ISBDdetail.pl 16 Jul 2007 15:19:27 -0000 1.4.2.9
@@ -71,7 +71,7 @@
});
my $val=count_items($record);
-$template->param("candelete"=>1) if ($val==0||C4::Context->userenv->{flags} eq
"1");
+$template->param("candelete"=>1) if ($val==0||(1 ||(C4::Context->userenv &&
C4::Context->userenv->{flags} eq "1")));
my $ISBD = C4::Context->preference('ISBD');
# my @blocs = split /\@/,$ISBD;
# my @fields = $record->fields();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha ISBDdetail.pl [rel_2_2],
Henri-Damien LAURENT <=