From c738615b1677a9350398102587ed49c99808b00d Mon Sep 17 00:00:00 2001 From: Arun Philip Date: Sat, 21 Sep 2024 00:48:52 -0400 Subject: [PATCH] fix typo bWierd -> bWeird --- src/ChurchCRM/Reports/PDF_Directory.php | 18 +++++++++--------- src/Reports/DirectoryReport.php | 6 +++--- src/Reports/GroupReport.php | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/ChurchCRM/Reports/PDF_Directory.php b/src/ChurchCRM/Reports/PDF_Directory.php index 2d69eb4138..2e9d8816cc 100644 --- a/src/ChurchCRM/Reports/PDF_Directory.php +++ b/src/ChurchCRM/Reports/PDF_Directory.php @@ -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"; @@ -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)) { @@ -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)) { diff --git a/src/Reports/DirectoryReport.php b/src/Reports/DirectoryReport.php index 2072523f9f..fad8997315 100644 --- a/src/Reports/DirectoryReport.php +++ b/src/Reports/DirectoryReport.php @@ -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)) { diff --git a/src/Reports/GroupReport.php b/src/Reports/GroupReport.php index 60443502ee..bbd14fc4cd 100644 --- a/src/Reports/GroupReport.php +++ b/src/Reports/GroupReport.php @@ -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"; }