aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-03 09:12:27 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-03 09:12:27 +0000
commit541a3c0b9a7f481a51d383f85b00259b10e55550 (patch)
treecccc1fd636417755aa387b908a098ce0bd11faa8 /engine/lib
parent10c40571327ac12f1216eb2400ce93433bcb069c (diff)
downloadelgg-541a3c0b9a7f481a51d383f85b00259b10e55550.tar.gz
elgg-541a3c0b9a7f481a51d383f85b00259b10e55550.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Cut and paste is a killer git-svn-id: https://code.elgg.org/elgg/trunk@379 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 7bcc9f04e..4a588368d 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -240,7 +240,7 @@
public function getGUID() { return $this->get('guid'); }
public function getOwner() { return $this->get('owner_guid'); }
public function getType() { return $this->get('type'); }
- public function getSubtype() { return get_subtype_from_id($this->get('owner_guid')); }
+ public function getSubtype() { return get_subtype_from_id($this->get('subtype')); }
public function getTimeCreated() { return $this->get('time_created'); }
public function getTimeUpdated() { return $this->get('time_updated'); }