From: Bradley Taylor Date: Fri, 1 Dec 2023 18:56:15 +0000 (+0000) Subject: [NFC] Pass correct param types to file_get_contents X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8b16551100410300a10decddfbfda9934b85674c;p=civicrm-core.git [NFC] Pass correct param types to file_get_contents --- diff --git a/CRM/Contact/Form/Task/PDFTrait.php b/CRM/Contact/Form/Task/PDFTrait.php index 9e8219c27d..08451c3953 100644 --- a/CRM/Contact/Form/Task/PDFTrait.php +++ b/CRM/Contact/Form/Task/PDFTrait.php @@ -272,7 +272,7 @@ trait CRM_Contact_Form_Task_PDFTrait { if ($tee) { $tee->stop(); - $content = file_get_contents($tee->getFileName(), NULL, NULL, NULL, 5); + $content = file_get_contents($tee->getFileName(), FALSE, NULL, 0, 5); if (empty($content)) { throw new \CRM_Core_Exception("Failed to capture document content (type=$type)!"); }