Skip to content

Commit

Permalink
Merge branch 'master' into snyk-upgrade-c207138d937a7a7ac942457465d95cab
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO authored Dec 29, 2022
2 parents d8c7bac + afdf69e commit cfe6e6d
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 38 deletions.
72 changes: 51 additions & 21 deletions demo/ChurchCRM-Database.sql

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "churchcrm",
"version": "4.5.1",
"version": "4.5.2",
"description": "Free Church CRM Software",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/ChurchCRM/Reports/ChurchInfoReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function StartLetterPage($fam_ID, $fam_Name, $fam_Address1, $fam_Address2
public function MakeSalutation($famID)
{
$family = FamilyQuery::create()->findPk($famID);
return $family->getSaluation();
return $family->getSalutation();

}
}
2 changes: 1 addition & 1 deletion src/MapUsingGoogle.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function initialize() {
$photoFileThumb = SystemURLs::getRootPath() . '/api/family/' . $family->getId() . '/photo';
$arr['ID'] = $family->getId();
$arr['Name'] = $family->getName();
$arr['Salutation'] = $family->getSaluation();
$arr['Salutation'] = $family->getSalutation();
$arr['Address'] = $family->getAddress();
$arr['Thumbnail'] = $photoFileThumb;
$arr['Latitude'] = $family->getLatitude();
Expand Down
2 changes: 1 addition & 1 deletion src/api/routes/calendar/events.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function newEvent($request, $response, $args)
$event->setCalendars($calendars);
$event->save();

return $response->withJSON(array("status" => "success"));
return $response->withJson(array("status" => "success"));
}

function updateEvent($request, $response, $args)
Expand Down
4 changes: 2 additions & 2 deletions src/api/routes/people/people-family.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

$this->delete('/photo', function ($request, $response, $args) {
$family = $request->getAttribute("family");
return $response->withJSON(["status" => $family->deletePhoto()]);
return $response->withJson(["status" => $family->deletePhoto()]);
})->add(new EditRecordsRoleAuthMiddleware());

$this->get('/thumbnail', function ($request, $response, $args) {
Expand Down Expand Up @@ -95,7 +95,7 @@
$this->post('/verify/now', function ($request, $response, $args) {
$family = $request->getAttribute("family");
$family->verify();
return $response->withJSON(["message" => "Success"]);
return $response->withJson(["message" => "Success"]);
});

})->add(new FamilyAPIMiddleware());
Expand Down
2 changes: 1 addition & 1 deletion src/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "churchcrm/crm",
"version": "4.5.1",
"version": "4.5.2",
"type": "project",
"keywords": [
"church",
Expand Down
5 changes: 3 additions & 2 deletions src/mysql/upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,10 @@
},
"current": {
"versions": [
"4.5.0"
"4.5.0",
"4.5.1"
],
"scripts": [],
"dbVersion": "4.5.1"
"dbVersion": "4.5.2"
}
}

0 comments on commit cfe6e6d

Please sign in to comment.