diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module index 9e47f8ca7b84698df88e103f2d098d4947c5b36c..5c1e0648b4e48574121cdd0a94b06dc7d8049b21 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; }