summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitai Burstein2013-04-13 19:48:38 (GMT)
committer Amitai Burstein2013-04-13 19:48:38 (GMT)
commit41aa5098f59031c9e76e2fe8751246a9fe9c038a (patch)
treeee32802cfe4f82eafdf271cfa6ff70634b7745fd
parentfc4373a4d401d3d8d28e67ac3f02da3bd9a39e43 (diff)
Fix values.
-rw-r--r--entityreference_prepopulate.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module
index 505d44b..097dce0 100644
--- a/entityreference_prepopulate.module
+++ b/entityreference_prepopulate.module
@@ -243,6 +243,7 @@ function entityreference_prepopulate_get_values($field, $instance, $validate = T
if (!$ids || !$validate) {
// No IDs foudn, or no validation is needed.
+ $cache[$identifier] = $ids;
return $ids;
}