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

(-)a/opac/svc/checkout_notes (-2 / +1 lines)
Lines 75-81 if ($is_ajax) { Link Here
75
            }
75
            }
76
        }
76
        }
77
77
78
        if ( $issue ) {
78
        if ( $issue && $status eq "saved" ) {
79
            $issue->set({ notedate => dt_from_string(), note => $clean_note, noteseen => 0 })->store;
79
            $issue->set({ notedate => dt_from_string(), note => $clean_note, noteseen => 0 })->store;
80
            if($clean_note) { # only send email if note not empty
80
            if($clean_note) { # only send email if note not empty
81
                my $branch = Koha::Libraries->find( $issue->branchcode );
81
                my $branch = Koha::Libraries->find( $issue->branchcode );
82
- 

Return to bug 29544