diff --git a/src/mysql/upgrade.json b/src/mysql/upgrade.json index 81e88b4d4c..1cb96ee9cd 100644 --- a/src/mysql/upgrade.json +++ b/src/mysql/upgrade.json @@ -59,7 +59,7 @@ "versions" : [ "2.2.0", "2.2.1", - "2.2.2" + "2.2.2", "2.2.3" ], "scripts": [ diff --git a/src/orm/model/ChurchCRM/Deposit.php b/src/orm/model/ChurchCRM/Deposit.php index 9cb92cb4f9..e1458732c7 100644 --- a/src/orm/model/ChurchCRM/Deposit.php +++ b/src/orm/model/ChurchCRM/Deposit.php @@ -236,7 +236,7 @@ private function generateDepositSummary($thisReport) $thisReport->pdf->SetXY($thisReport->depositSummaryParameters->title->x, $thisReport->depositSummaryParameters->title->y); $thisReport->pdf->SetFont('Courier', 'B', 20); - $thisReport->pdf->Write(8, "Deposit Summary " . $thisReport->deposit->dep_ID); + $thisReport->pdf->Write(8, "Deposit Summary " . $this->getId()); $thisReport->pdf->SetFont('Times', 'B', 10); $thisReport->curX = $thisReport->depositSummaryParameters->summary->x;