projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92f402
)
Members.pm - make sure we don't return empty refs (is firstname fallback really needed?)
author
Joe Atzberger (siptest
<atz4sip@arwen.metavore.com>
Thu, 7 Feb 2008 18:59:12 +0000
(12:59 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Fri, 8 Feb 2008 12:08:04 +0000
(06:08 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Members.pm
patch
|
blob
|
history
diff --git
a/C4/Members.pm
b/C4/Members.pm
index
ec32bc5
..
6accd17
100644
(file)
--- a/
C4/Members.pm
+++ b/
C4/Members.pm
@@
-520,7
+520,7
@@
LEFT JOIN categories on borrowers.categorycode=categories.categorycode
$sth->execute($information);
$data = $sth->fetchrow_hashref;
$sth->finish;
- return ($data);
+
($data) and
return ($data);
}
return undef;
}