summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.ross2013-02-19 10:46:37 (GMT)
committer Amitaibu2013-02-19 10:46:37 (GMT)
commitd95802e92021b58e031de75fdff35adac9f12e37 (patch)
tree7e042d3e4d9850b3bb4fff551057451368088b09
parentabd418eee305c13b5882733dd9bb294e16278bde (diff)
Issue #1502972 follow-up by a.ross: Fixed Issues with ajax file upload fields.
-rw-r--r--entityreference_prepopulate.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module
index 9e47f8c..5c1e064 100644
--- a/entityreference_prepopulate.module
+++ b/entityreference_prepopulate.module
@@ -275,7 +275,7 @@ function entityreference_prepopulate_get_values_from_url($field, $instance, $fla
$ids = explode(',', $_GET[$field_name]);
}
- if (!$ids) {
+ if (empty($ids)) {
$cache[$identifier] = FALSE;
return;
}