Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions modules/customer/includes/commerce_customer.entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
class CommerceCustomerProfile extends Entity {

public $langcode = LANGUAGE_NONE;
public $name = '';

public function __construct($values = array()) {
parent::__construct($values, 'commerce_customer_profile');
Expand All @@ -21,7 +20,7 @@ class CommerceCustomerProfile extends Entity {
}

public function label() {
return $this->name;
return "Customer Profile (uid {$this->uid})";
}

public function uri() {
Expand Down
2 changes: 1 addition & 1 deletion modules/product/includes/commerce_product.entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CommerceProduct extends Entity {
}

public function label() {
return $this->name;
return $this->title;
}

public function uri() {
Expand Down
Loading