summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitai Burstein2013-04-13 19:13:28 (GMT)
committer Amitai Burstein2013-04-13 19:13:28 (GMT)
commitb9091e0377030fe9bbb5bbc455f8b72feddfad08 (patch)
tree1279f99fa932f7c31bce9394803534d31bf8e2df
parent057e4ae6f1724581fd332a9cb9c86f40d696cd4c (diff)
More work.
-rw-r--r--entityreference_prepopulate.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module
index 8900dfb..e375930 100644
--- a/entityreference_prepopulate.module
+++ b/entityreference_prepopulate.module
@@ -194,7 +194,7 @@ function entityreference_prepopulate_get_values($entity_type, $entity, $field, $
$field_name = $field['field_name'];
- if (module_exists(['og']) && og_is_group_audience_field($field_name) && empty($instance['field_mode'])) {
+ if (module_exists('og') && og_is_group_audience_field($field_name) && empty($instance['field_mode'])) {
// Group audience field, but no field-mode provided.
return;
}