[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha MARCdetail.pl [R_2-2-7-1]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha MARCdetail.pl [R_2-2-7-1] |
Date: |
Mon, 12 Feb 2007 09:35:16 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: R_2-2-7-1
Changes by: Antoine Farnault <toins> 07/02/12 09:35:16
Modified files:
. : MARCdetail.pl
Log message:
Commiting BUG FIX for 2.2.7.1.
Previous log was :
check that userenv exists before checking its value.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/MARCdetail.pl?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.25.2.24&r2=1.25.2.24.2.1
Patches:
Index: MARCdetail.pl
===================================================================
RCS file: /sources/koha/koha/Attic/MARCdetail.pl,v
retrieving revision 1.25.2.24
retrieving revision 1.25.2.24.2.1
diff -u -b -r1.25.2.24 -r1.25.2.24.2.1
--- MARCdetail.pl 31 Oct 2006 14:33:32 -0000 1.25.2.24
+++ MARCdetail.pl 12 Feb 2007 09:35:16 -0000 1.25.2.24.2.1
@@ -87,7 +87,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||(C4::Context->userenv &&
C4::Context->userenv->{flags} eq "1"));
#Getting the list of all frameworks
my $queryfwk =$dbh->prepare("select frameworktext, frameworkcode from
biblio_framework");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha MARCdetail.pl [R_2-2-7-1],
Antoine Farnault <=