Author: jablko
Date: Thu Oct 14 16:26:09 2010
New Revision: 8136
Log:
Set properties more directly
Modified:
trunk/apps/qubit/modules/repository/actions/editAction.class.php
Modified: trunk/apps/qubit/modules/repository/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/repository/actions/editAction.class.php Thu Oct
14 16:23:52 2010 (r8135)
+++ trunk/apps/qubit/modules/repository/actions/editAction.class.php Thu Oct
14 16:26:09 2010 (r8136)
@@ -296,20 +296,20 @@
$this->request->website)
{
$contactInformation = new QubitContactInformation;
- $contactInformation->setActorId($this->resource->getId());
- $contactInformation->setContactType($this->request->contact_type);
- $contactInformation->setPrimaryContact($this->request->primary_contact);
- $contactInformation->setContactPerson($this->request->contact_person);
- $contactInformation->setStreetAddress($this->request->street_address);
- $contactInformation->setCity($this->request->city);
- $contactInformation->setRegion($this->request->region);
- $contactInformation->setCountryCode($this->request->country_code);
- $contactInformation->setPostalCode($this->request->postal_code);
- $contactInformation->setTelephone($this->request->telephone);
- $contactInformation->setFax($this->request->fax);
- $contactInformation->setEmail($this->request->email);
- $contactInformation->setWebsite($this->request->website);
- $contactInformation->setNote($this->request->contact_information_note);
+ $contactInformation->actorId = $this->resource->getId();
+ $contactInformation->contactType = $this->request->contact_type;
+ $contactInformation->primaryContact = $this->request->primary_contact;
+ $contactInformation->contactPerson = $this->request->contact_person;
+ $contactInformation->streetAddress = $this->request->street_address;
+ $contactInformation->city = $this->request->city;
+ $contactInformation->region = $this->request->region;
+ $contactInformation->countryCode = $this->request->country_code;
+ $contactInformation->postalCode = $this->request->postal_code;
+ $contactInformation->telephone = $this->request->telephone;
+ $contactInformation->fax = $this->request->fax;
+ $contactInformation->email = $this->request->email;
+ $contactInformation->website = $this->request->website;
+ $contactInformation->note = $this->request->contact_information_note;
$contactInformation->save();
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.