aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:17:27 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:17:27 +0200
commit2b4ba38bf78e90cbf8c153676c95f562bb500204 (patch)
treedc9de72c6ff98f652e835eb66a8036b58b2c5ca5 /engine/lib/relationships.php
parente33d1eba6a158699174de2747de6d6e654c03407 (diff)
downloadelgg-2b4ba38bf78e90cbf8c153676c95f562bb500204.tar.gz
elgg-2b4ba38bf78e90cbf8c153676c95f562bb500204.tar.bz2
correct singual usage of type in elgg_get_entities_* functions - found
more bad usage
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 09d541e22..7b42ed5be 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -507,7 +507,7 @@ function get_attachments($guid, $type = "") {
'relationship' => 'attached',
'relationship_guid' => $guid,
'inverse_relationship' => false,
- 'types' => $type,
+ 'type' => $type,
'subtypes' => '',
'owner_guid' => 0,
'order_by' => 'time_created desc',