Bug 29544: Ensure logged in user is allowed to modify checkout note
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
6ca49b550e
commit
7f2cef2337
|
|
@ -75,7 +75,7 @@ if ($is_ajax) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( $issue ) {
|
||||
if ( $issue && $status eq "saved" ) {
|
||||
$issue->set({ notedate => dt_from_string(), note => $clean_note, noteseen => 0 })->store;
|
||||
if($clean_note) { # only send email if note not empty
|
||||
my $branch = Koha::Libraries->find( $issue->branchcode );
|
||||
|
|
|
|||
Loading…
Reference in New Issue