warn "Patron creation failed! - $@"; # Maybe we must die instead of just warn
} else {
$borrowernumber = $patron->borrowernumber;
+ $newdata{'borrowernumber'} = $borrowernumber;
}
# If 'AutoEmailOpacUser' syspref is on, email user their account details from the 'notice' that matches the user's branchcode.