aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
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
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')
-rw-r--r--engine/lib/deprecated-1.8.php6
-rw-r--r--engine/lib/relationships.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index 622b58212..033af90fd 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -87,7 +87,7 @@ function list_entities_from_access_id($access_id, $entity_type = "", $entity_sub
elgg_deprecated_notice("All list_entities* functions were deprecated in 1.8. Use elgg_list_entities* instead.", 1.8);
echo elgg_list_entities_from_access_id(array('access_id' => $access_id,
- 'types' => $entity_type, 'subtype' => $entity_subtype, 'owner_guids' => $owner_guid,
+ 'type' => $entity_type, 'subtype' => $entity_subtype, 'owner_guids' => $owner_guid,
'limit' => $limit, 'full_view' => $fullview, 'list_type_toggle' => $listtypetoggle,
'pagination' => $pagination,));
}
@@ -1314,7 +1314,7 @@ function list_entities_from_metadata($meta_name, $meta_value = "", $entity_type
$options = array(
'metadata_name' => $meta_name,
'metadata_value' => $meta_value,
- 'types' => $entity_type,
+ 'type' => $entity_type,
'subtype' => $entity_subtype,
'limit' => $limit,
'offset' => $offset,
@@ -2120,7 +2120,7 @@ $fullview = true, $listtypetoggle = false, $pagination = true, $order_by = '') {
'relationship' => $relationship,
'relationship_guid' => $relationship_guid,
'inverse_relationship' => $inverse_relationship,
- 'types' => $type,
+ 'type' => $type,
'subtype' => $subtype,
'owner_guid' => $owner_guid,
'order_by' => $order_by,
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',