koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-bugs] [Bug 1162] New: Some potential bugs I noticed


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 1162] New: Some potential bugs I noticed
Date: 11 Sep 2006 00:26:51 -0000

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1162

           Summary: Some potential bugs I noticed
           Product: Koha
           Version: branch 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Acquisitions (Simple)
        AssignedTo: address@hidden
        ReportedBy: address@hidden
         QAContact: address@hidden


additem.pl has two questionable lines:

192, 193

my ($itemtagfield,$itemtagsubfield) =
&MARCfind_marc_from_kohafield($dbh,"items.itemnumber"),$itemtype);
my ($branchtagfield,$branchtagsubfield) =
&MARCfind_marc_from_kohafield($dbh,"items.homebranch"),$itemtype);

I believe itemtype is incorrect here, it should be frameworkcode (or actually,
left blank in the case of itemnumber I bet). Paul, can you comment on this?

Second one is line 214:

 if (($field->tag eq $branchtagfield) && ($subf[$i][$0] eq $branchtagsubfield)
&& C4::Context->preference("IndependantBranches")) {

Unless I'm mistaken $0 should just be 0, right? Paul, could you take a look and
fix it if I'm right?




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]