From: Steve Sutton Date: Thu, 11 Feb 2010 20:23:32 +0000 (+0000) Subject: update for email X-Git-Tag: v1.0.0~64 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5ef7b29edb343356a574c9bbed185d32977b49c8;p=web%2FTroutCreek.git update for email --- diff --git a/Toolkit/Contacts/ContactUs.php b/Toolkit/Contacts/ContactUs.php index fa25b02..6312f3c 100755 --- a/Toolkit/Contacts/ContactUs.php +++ b/Toolkit/Contacts/ContactUs.php @@ -785,8 +785,8 @@ class Toolkit_Contacts_ContactUs } $page->formData['interest']['element'] = implode('
', $interests); } - $page->formData['referred_by'] = ($page->formData['referred_by'] != '') ? $this->referred_by[$page->formData['referred_by']]: null; - $page->formData['unit_size'] = ($page->formData['unit_size'] != '') ? $this->unit_size[$page->formData['unit_size']]: null; + $page->formData['referred_by']['element'] = ($page->formData['referred_by']['element'] != '') ? $this->referred_by[$page->formData['referred_by']['element']]: null; + $page->formData['unit_size']['element'] = ($page->formData['unit_size']['element'] != '') ? $this->unit_size[$page->formData['unit_size']['element']]: null; if ($this->elementExists('mail_ok')) { // Clean up the mail_ok flag so its human readable