From 59e21298a6ebafa712c6403186cbbcb0ecc6b7aa Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 14 Sep 2021 15:10:09 +1200 Subject: [PATCH] [Ref] Remove pass-by-reference --- CRM/Core/BAO/PdfFormat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/PdfFormat.php b/CRM/Core/BAO/PdfFormat.php index 40c7c84211..a082ace7af 100644 --- a/CRM/Core/BAO/PdfFormat.php +++ b/CRM/Core/BAO/PdfFormat.php @@ -328,7 +328,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * Id of the database record (null = new record). * @throws CRM_Core_Exception */ - public function savePdfFormat(&$values, $id = NULL) { + public function savePdfFormat($values, $id = NULL) { // get the Option Group ID for PDF Page Formats (create one if it doesn't exist) $group_id = self::_getGid(); -- 2.25.1