summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfcaminada2018-04-03 20:33:14 (GMT)
committerRenato Gonçalves H2018-04-03 20:33:14 (GMT)
commit1986e62b1c3de59161b825364c18f08b2000bf9b (patch)
treec958e4d190707ba7a4a0aff1d04b7d8decf5e11c
parent5087577cf4dfbd7925663e2fed663fafa3e58b83 (diff)
Issue #2923099 by caminadaf, RenatoG: Warning (error on PHP7) when using devel_generate with multi-valued field
-rw-r--r--user_reference/user_reference.devel_generate.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_reference/user_reference.devel_generate.inc b/user_reference/user_reference.devel_generate.inc
index 69115c8..5ecbed6 100644
--- a/user_reference/user_reference.devel_generate.inc
+++ b/user_reference/user_reference.devel_generate.inc
@@ -10,7 +10,7 @@
*/
function user_reference_devel_generate($object, $field, $instance, $bundle) {
if (field_behaviors_widget('multiple values', $instance) == FIELD_BEHAVIOR_CUSTOM) {
- return devel_generate_multiple('_user_reference_devel_generate', $object, $field);
+ return devel_generate_multiple('_user_reference_devel_generate', $object, $field, $instance, $bundle);
}
else {
return _user_reference_devel_generate($object, $field);