[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] bugfix suggestion for 2.0 branch
From: |
Paul POULAIN |
Subject: |
[Koha-devel] bugfix suggestion for 2.0 branch |
Date: |
Mon Sep 6 07:23:05 2004 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7) Gecko/20040619 |
Modified Files:
Biblio.pm
Log Message:
bugfix => drop empty fields, NOT fields containing 0
***************
*** 1059,1064 ****
address@hidden;
} else {
! if (@$rvalues[$i]) {
$field->add_subfields(@$rsubfields[$i]
=> @$rvalues[$i]);
}
}
--- 1061,1067 ----
address@hidden;
} else {
! if (length(@$rvalues[$i])>0) {
$field->add_subfields(@$rsubfields[$i]
=> @$rvalues[$i]);
}
}
(line numbers are for HEAD, probably not the same in 2.0 branch).
It's located in MARChtml2marc sub
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] bugfix suggestion for 2.0 branch,
Paul POULAIN <=