Bug 5201 Patron surname dropped

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Frédéric Demians 2010-09-16 08:37:38 -04:00 committed by Galen Charlton
parent b357e728bc
commit 03ff10ba02
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ if ($op eq 'save' || $op eq 'insert'){
}
}
if(C4::Context->preference('uppercasesurnames')) {
if($newdata{surname} && C4::Context->preference('uppercasesurnames')) {
$newdata{'surname'} = uc($newdata{'surname'});
}