|
Lines 453-459
sub build_patron_status {
Link Here
|
| 453 |
|
453 |
|
| 454 |
if ( $patron and $password_ok ) { |
454 |
if ( $patron and $password_ok ) { |
| 455 |
$resp .= patron_status_string($patron); |
455 |
$resp .= patron_status_string($patron); |
| 456 |
$resp .= $lang . Sip::timestamp(); |
456 |
$resp .= $lang . C4::SIP::Sip::timestamp(); |
| 457 |
$resp .= add_field( FID_PERSONAL_NAME, $patron->name ); |
457 |
$resp .= add_field( FID_PERSONAL_NAME, $patron->name ); |
| 458 |
|
458 |
|
| 459 |
# while the patron ID we got from the SC is valid, let's |
459 |
# while the patron ID we got from the SC is valid, let's |
|
Lines 481-487
sub build_patron_status {
Link Here
|
| 481 |
# Report that the user has no privs. |
481 |
# Report that the user has no privs. |
| 482 |
|
482 |
|
| 483 |
# no personal name, and is invalid (if we're using 2.00) |
483 |
# no personal name, and is invalid (if we're using 2.00) |
| 484 |
$resp .= 'YYYY' . ( ' ' x 10 ) . $lang . Sip::timestamp(); |
484 |
$resp .= 'YYYY' . ( ' ' x 10 ) . $lang . C4::SIP::Sip::timestamp(); |
| 485 |
$resp .= add_field( FID_PERSONAL_NAME, '' ); |
485 |
$resp .= add_field( FID_PERSONAL_NAME, '' ); |
| 486 |
|
486 |
|
| 487 |
# the patron ID is invalid, but it's a required field, so |
487 |
# the patron ID is invalid, but it's a required field, so |
| 488 |
- |
|
|