aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-09 18:53:19 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-09 18:53:19 -0500
commit66953a2148bb7a19ac79c1a4ccda2852ee87501e (patch)
tree5fceb3772a744181c5311aa157afb1a8c34aa276 /engine/lib/metadata.php
parentc4b49227819624b14b61e6eedbfa6779cd794d45 (diff)
downloadelgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.gz
elgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.bz2
coding standard fixes to engine
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 352e98a61..6e1b8b39c 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -402,15 +402,15 @@ function elgg_enable_metadata(array $options) {
*/
function elgg_get_entities_from_metadata(array $options = array()) {
$defaults = array(
- 'metadata_names' => ELGG_ENTITIES_ANY_VALUE,
- 'metadata_values' => ELGG_ENTITIES_ANY_VALUE,
- 'metadata_name_value_pairs' => ELGG_ENTITIES_ANY_VALUE,
+ 'metadata_names' => ELGG_ENTITIES_ANY_VALUE,
+ 'metadata_values' => ELGG_ENTITIES_ANY_VALUE,
+ 'metadata_name_value_pairs' => ELGG_ENTITIES_ANY_VALUE,
- 'metadata_name_value_pairs_operator'=> 'AND',
- 'metadata_case_sensitive' => TRUE,
- 'order_by_metadata' => array(),
+ 'metadata_name_value_pairs_operator' => 'AND',
+ 'metadata_case_sensitive' => TRUE,
+ 'order_by_metadata' => array(),
- 'metadata_owner_guids' => ELGG_ENTITIES_ANY_VALUE,
+ 'metadata_owner_guids' => ELGG_ENTITIES_ANY_VALUE,
);
$options = array_merge($defaults, $options);
@@ -633,7 +633,7 @@ $owner_guids = NULL) {
$i++;
}
- if ($where = implode (" $pair_operator ", $pair_wheres)) {
+ if ($where = implode(" $pair_operator ", $pair_wheres)) {
$wheres[] = "($where)";
}
}