Author: jablko
Date: Thu Oct 14 16:27:47 2010
New Revision: 8137
Log:
Cosmetic change
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:26:09 2010 (r8136)
+++ trunk/apps/qubit/modules/repository/actions/editAction.class.php Thu Oct
14 16:27:47 2010 (r8137)
@@ -283,20 +283,20 @@
public function updateContactInformation()
{
- if ($this->request->contact_type ||
- $this->request->contact_person ||
- $this->request->street_address ||
- $this->request->city ||
- $this->request->region ||
- $this->request->country_code ||
- $this->request->postal_code ||
- $this->request->telephone ||
- $this->request->fax ||
- $this->request->email ||
- $this->request->website)
+ if ($this->request->contact_type
+ || $this->request->contact_person
+ || $this->request->street_address
+ || $this->request->city
+ || $this->request->region
+ || $this->request->country_code
+ || $this->request->postal_code
+ || $this->request->telephone
+ || $this->request->fax
+ || $this->request->email
+ || $this->request->website)
{
$contactInformation = new QubitContactInformation;
- $contactInformation->actorId = $this->resource->getId();
+ $contactInformation->actor = $this->resource;
$contactInformation->contactType = $this->request->contact_type;
$contactInformation->primaryContact = $this->request->primary_contact;
$contactInformation->contactPerson = $this->request->contact_person;
--
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.