]> git.koha-community.org Git - koha.git/commit
Bug 26331: Make svc/letters/preview executable
authorDavid Cook <dcook@prosentient.com.au>
Tue, 1 Sep 2020 05:19:14 +0000 (15:19 +1000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 15 Sep 2020 11:38:28 +0000 (23:38 +1200)
commit4eddf06c5bd29786bb4b84d73f01ebe40ff690b1
treeb6e8251baf07c55b7ef0138fe17f46727ed84ebb
parent8ca23ac2891e0231baace1b6e27a1e86bef0b27b
Bug 26331: Make svc/letters/preview executable

Without this patch, you can't preview letters when running Koha in CGI mode.

To test:
1. Run Koha as CGI (and not Plack)
2. Go to /cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=&module=circulation&code=CHECKIN
3. Try to preview the notice (using a valid barcode)
4. Note in the browser console that svc/letters/preview is generating a 500 error

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c53dfb5562a12c1a8d8b9d3d0c28cb17d001edb5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6e014333589b80be7b0060da8aa3e4e55cfb07ca)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
svc/letters/preview [changed mode: 0644->0755]