Bug 26331: Make svc/letters/preview executable
authorDavid Cook <dcook@prosentient.com.au>
Tue, 1 Sep 2020 05:19:14 +0000 (15:19 +1000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Sep 2020 11:40:00 +0000 (13:40 +0200)
commitc53dfb5562a12c1a8d8b9d3d0c28cb17d001edb5
tree5320d504cadfdff705d99d7c06372d2c83fb55b7
parentb729886216560fdf50d88dc8214c0dbb58720b5c
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>
svc/letters/preview [changed mode: 0644->0755]