Research-IT-Swiss-TPH / redcap-pdf-injector

PDF Injector is a REDCap module that enables you to populate fillable PDFs with record data from variables.
https://research-it-swiss-tph.github.io/redcap-pdf-injector/
MIT License
7 stars 8 forks source link

Cannot delete injections #30

Closed tertek closed 1 year ago

tertek commented 1 year ago

ArgumentCountError: Too few arguments to function Files::deleteFileByDocId(), 1 passed in \www\redcap\modules\pdf_injector_v2.2.0\pdfInjector.php on line 686 and exactly 2 expected in \www\redcap\redcap_v13.1.7\Classes\Files.php:1229

tertek commented 1 year ago

https://github.com/vanderbilt-redcap/REDCap/commit/6d5b20a1e122a56c70d1f3ddd35f076786181dda

tertek commented 1 year ago

Fixed in 126b6719269cf18839e659c041f541f12087c3f4