View | Details | Raw Unified | Return to bug 9263
Collapse All | Expand All

(-)a/offline_circ/service.pl (-3 / +4 lines)
Lines 39-47 if ($status eq 'ok') { # if authentication is ok Link Here
39
    $timestamp  = $cgi->param('timestamp')  || '';
39
    $timestamp  = $cgi->param('timestamp')  || '';
40
    $action     = $cgi->param('action')     || '';
40
    $action     = $cgi->param('action')     || '';
41
    $barcode    = $cgi->param('barcode')    || '';
41
    $barcode    = $cgi->param('barcode')    || '';
42
    $barcode    =~ s/^\s+|\s+$//;
42
    $barcode    =~ s/^\s+//;
43
    $barcode    =~ s/\s+$//;
43
    $cardnumber = $cgi->param('cardnumber') || '';
44
    $cardnumber = $cgi->param('cardnumber') || '';
44
    $cardnumber =~ s/^\s+|\s+$//;
45
    $cardnumber =~ s/^\s+//;
46
    $cardnumber =~ s/\s+$//;
45
47
46
    if ( $cgi->param('pending') eq 'true' ) { # if the 'pending' flag is true, we store the operation in the db instead of directly processing them
48
    if ( $cgi->param('pending') eq 'true' ) { # if the 'pending' flag is true, we store the operation in the db instead of directly processing them
47
        $result = AddOfflineOperation(
49
        $result = AddOfflineOperation(
48
- 

Return to bug 9263