diff --git a/modules/careers/CareersUI.php b/modules/careers/CareersUI.php index ca5586e8..f592f785 100755 --- a/modules/careers/CareersUI.php +++ b/modules/careers/CareersUI.php @@ -232,6 +232,7 @@ private function careersPage() $firstNameEscaped = htmlspecialchars((string) $candidate['firstName'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $lastNameEscaped = htmlspecialchars((string) $candidate['lastName'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $addressEscaped = htmlspecialchars((string) $candidate['address'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); + $address2Escaped = htmlspecialchars((string) $candidate['address2'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $cityEscaped = htmlspecialchars((string) $candidate['city'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $stateEscaped = htmlspecialchars((string) $candidate['state'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $zipEscaped = htmlspecialchars((string) $candidate['zip'], ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); @@ -249,7 +250,7 @@ private function careersPage() $content = str_replace('', '', $content); $content = str_replace('', '', $content); $content = str_replace('', '', $content); - $content = str_replace('', '', $content); + $content = str_replace('', '', $content); $content = str_replace('', '', $content); $content = str_replace('', '', $content); $content = str_replace('', '', $content); @@ -627,6 +628,7 @@ private function careersPage() $firstNameEscaped = htmlspecialchars((string) $firstName, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $lastNameEscaped = htmlspecialchars((string) $lastName, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $addressEscaped = htmlspecialchars((string) $address, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); + $address2Escaped = htmlspecialchars((string) $address2, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $cityEscaped = htmlspecialchars((string) $city, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $stateEscaped = htmlspecialchars((string) $state, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); $zipEscaped = htmlspecialchars((string) $zip, ENT_QUOTES | ENT_SUBSTITUTE, HTML_ENCODING); @@ -648,7 +650,7 @@ private function careersPage() $template['Content'] = str_replace('', '', $template['Content']); $template['Content'] = str_replace('', '', $template['Content']); $template['Content'] = str_replace('', '', $template['Content']); - $template['Content'] = str_replace('', '', $template['Content']); + $template['Content'] = str_replace('', '', $template['Content']); $template['Content'] = str_replace('', '', $template['Content']); $template['Content'] = str_replace('', '', $template['Content']); $template['Content'] = str_replace('', '', $template['Content']);