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

(-)a/acqui/cancelorder.pl (-2 / +1 lines)
Lines 67-77 if( $action and $action eq "confirmcancel" ) { Link Here
67
        $template->param( error_delbiblio => 1 )
67
        $template->param( error_delbiblio => 1 )
68
            if $messages[0]->message eq 'error_delbiblio';
68
            if $messages[0]->message eq 'error_delbiblio';
69
    } else {
69
    } else {
70
        $template->param(success_cancelorder => 1);
71
        # Log the cancellation of the order
70
        # Log the cancellation of the order
72
        if (C4::Context->preference("AcqLog")) {
71
        if (C4::Context->preference("AcqLog")) {
73
            logaction('ACQUISITIONS', 'CANCEL_ORDER', $ordernumber);
72
            logaction('ACQUISITIONS', 'CANCEL_ORDER', $ordernumber);
74
        }
73
        }
74
        $template->param(success_cancelorder => 1);
75
    }
75
    }
76
    $template->param(confirmcancel => 1);
76
    $template->param(confirmcancel => 1);
77
}
77
}
78
- 

Return to bug 24190