projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4339c85
)
fix for bug introduced recently if due_date is null, search failed
author
Joshua Ferraro
<jmf@liblime.com>
Thu, 13 Dec 2007 10:28:35 +0000
(
04:28
-0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 13 Dec 2007 10:28:35 +0000
(
04:28
-0600)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
f004c9c
..
371d1aa
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-1081,7
+1081,7
@@
sub searchResults {
$item->{$code} = $field->subfield( $subfieldstosearch{$code} );
}
$sth_issue->execute($item->{itemnumber});
- $item->{due_date} = format_date($sth_issue->fetchrow);
+ $item->{due_date} = format_date($sth_issue->fetchrow)
if $sth_issue->fetchrow
;
$item->{onloan} = 1 if $item->{due_date};
# at least one item can be reserved : suppose no
$norequests = 1;