Skip to content

Commit

Permalink
fix typo bWierd -> bWeird
Browse files Browse the repository at this point in the history
  • Loading branch information
DAcodedBEAT committed Sep 21, 2024
1 parent b0b3477 commit c738615
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions src/ChurchCRM/Reports/PDF_Directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,13 @@ public function sGetFamilyString($aRow): string
}

if ($bDirFamilyPhone && strlen($fam_HomePhone)) {
$sFamilyStr .= ' ' . gettext('Phone') . ': ' . ExpandPhoneNumber($fam_HomePhone, $fam_Country, $bWierd) . "\n";
$sFamilyStr .= ' ' . gettext('Phone') . ': ' . ExpandPhoneNumber($fam_HomePhone, $fam_Country, $bWeird) . "\n";
}
if ($bDirFamilyWork && strlen($fam_WorkPhone)) {
$sFamilyStr .= ' ' . gettext('Work') . ': ' . ExpandPhoneNumber($fam_WorkPhone, $fam_Country, $bWierd) . "\n";
$sFamilyStr .= ' ' . gettext('Work') . ': ' . ExpandPhoneNumber($fam_WorkPhone, $fam_Country, $bWeird) . "\n";
}
if ($bDirFamilyCell && strlen($fam_CellPhone)) {
$sFamilyStr .= ' ' . gettext('Cell') . ': ' . ExpandPhoneNumber($fam_CellPhone, $fam_Country, $bWierd) . "\n";
$sFamilyStr .= ' ' . gettext('Cell') . ': ' . ExpandPhoneNumber($fam_CellPhone, $fam_Country, $bWeird) . "\n";
}
if ($bDirFamilyEmail && strlen($fam_Email)) {
$sFamilyStr .= ' ' . gettext('Email') . ': ' . $fam_Email . "\n";
Expand Down Expand Up @@ -399,15 +399,15 @@ public function sGetHeadString($rsCustomFields, $aHead): string
$sCountry = SelectWhichInfo($per_Country, $fam_Country, false);

if ($bDirPersonalPhone && strlen($per_HomePhone)) {
$TempStr = ExpandPhoneNumber($per_HomePhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_HomePhone, $sCountry, $bWeird);
$sHeadStr .= ' ' . gettext('Phone') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalWork && strlen($per_WorkPhone)) {
$TempStr = ExpandPhoneNumber($per_WorkPhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_WorkPhone, $sCountry, $bWeird);
$sHeadStr .= ' ' . gettext('Work') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalCell && strlen($per_CellPhone)) {
$TempStr = ExpandPhoneNumber($per_CellPhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_CellPhone, $sCountry, $bWeird);
$sHeadStr .= ' ' . gettext('Cell') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalEmail && strlen($per_Email)) {
Expand Down Expand Up @@ -456,15 +456,15 @@ public function sGetMemberString($aRow): string
$sCountry = SelectWhichInfo($per_Country, $fam_Country, false);

if ($bDirPersonalPhone && strlen($per_HomePhone)) {
$TempStr = ExpandPhoneNumber($per_HomePhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_HomePhone, $sCountry, $bWeird);
$sMemberStr .= ' ' . gettext('Phone') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalWork && strlen($per_WorkPhone)) {
$TempStr = ExpandPhoneNumber($per_WorkPhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_WorkPhone, $sCountry, $bWeird);
$sMemberStr .= ' ' . gettext('Work') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalCell && strlen($per_CellPhone)) {
$TempStr = ExpandPhoneNumber($per_CellPhone, $sCountry, $bWierd);
$TempStr = ExpandPhoneNumber($per_CellPhone, $sCountry, $bWeird);
$sMemberStr .= ' ' . gettext('Cell') . ': ' . $TempStr .= "\n";
}
if ($bDirPersonalEmail && strlen($per_Email)) {
Expand Down
6 changes: 3 additions & 3 deletions src/Reports/DirectoryReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,15 @@
}
}
if (($bDirFamilyPhone || $bDirPersonalPhone) && strlen($sHomePhone)) {
$TempStr = ExpandPhoneNumber($sHomePhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sHomePhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Phone') . ': ' . $TempStr . "\n";
}
if (($bDirFamilyWork || $bDirPersonalWork) && strlen($sWorkPhone)) {
$TempStr = ExpandPhoneNumber($sWorkPhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sWorkPhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Work') . ': ' . $TempStr . "\n";
}
if (($bDirFamilyCell || $bDirPersonalCell) && strlen($sCellPhone)) {
$TempStr = ExpandPhoneNumber($sCellPhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sCellPhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Cell') . ': ' . $TempStr . "\n";
}
if (($bDirFamilyEmail || $bDirPersonalEmail) && strlen($sEmail)) {
Expand Down
6 changes: 3 additions & 3 deletions src/Reports/GroupReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,17 @@
}

if (isset($_POST['HomePhoneEnable']) && strlen($sHomePhone)) {
$TempStr = ExpandPhoneNumber($sHomePhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sHomePhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Phone') . ': ' . $TempStr . "\n";
}

if (isset($_POST['WorkPhoneEnable']) && strlen($sWorkPhone)) {
$TempStr = ExpandPhoneNumber($sWorkPhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sWorkPhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Work') . ': ' . $TempStr . "\n";
}

if (isset($_POST['CellPhoneEnable']) && strlen($sCellPhone)) {
$TempStr = ExpandPhoneNumber($sCellPhone, SystemConfig::getValue('sDefaultCountry'), $bWierd);
$TempStr = ExpandPhoneNumber($sCellPhone, SystemConfig::getValue('sDefaultCountry'), $bWeird);
$OutStr .= ' ' . gettext('Cell') . ': ' . $TempStr . "\n";
}

Expand Down

0 comments on commit c738615

Please sign in to comment.