Assign the $this->newInterest
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 10 Apr 2014 13:29:28 +0000 (13:29 +0000)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 10 Apr 2014 13:29:28 +0000 (13:29 +0000)
This is for the interest to go through to the email to Owner

Toolkit/Contacts/ContactUs.php

index 87d5f2c..daf22f8 100755 (executable)
@@ -1123,6 +1123,9 @@ $e[] = array(
         //  sends a form through w/ different data but the same emil addy
         //  the old users data can be completely wiped out.
         $existingContact = $this->contactExists($values['email']);
+        // setup newInterest aray with the interest values
+        // because their grouped can't be found with getElement('interest')
+        $this->newInterest = $values['interest'];
 
         if ($existingContact) {
             return $this->updateData($values);