]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 14 Sep 2020 21:22:22 +0000 (21:22 +0000)
commit6e014333589b80be7b0060da8aa3e4e55cfb07ca
treec052b7868001c250c070d4a293a5961db4d36a16
parentb10162f3a2086be33abd3df45e717d7c6e902388
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>
svc/letters/preview [changed mode: 0644->0755]