diff --git a/README.txt b/README.txt index 81a03ecabfa3c1e59fbf512bb7c12f59301428e8..03c2f0b4a9ddd7e643e987b2aa13c5e3e041ad98 100644 --- a/README.txt +++ b/README.txt @@ -21,13 +21,13 @@ Fallback behaviour Select what to do if the URL path does NOT contain a parameter to pre-populate the field. Skip access permission - This is a fallback overide, the fallback behaviour will not be followed + This is a fallback override, the fallback behaviour will not be followed for users with the specified permission. Usage ===== In order to pre-populate an entity reference field you have to supply the -paramater in the URL. +parameter in the URL. The structure is node/add/article?[field_ref]=[id] diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module index f7653b965db1e9c9af67c17e3eb24e6768437c0b..c17c2e97820c41fd354dca4659b9d6a4debbf8ea 100644 --- a/entityreference_prepopulate.module +++ b/entityreference_prepopulate.module @@ -98,7 +98,7 @@ function entityreference_prepopulate_field_attach_form($entity_type, $entity, &$ } if ($ids || ($id && !empty($settings['action_on_edit']))) { - // New entity with prepopualte values, or an existing entity, + // New entity with prepopulate values, or an existing entity, // we might need to disable/ hide the group-audience field. if ($settings['action'] == 'disable') { $form[$field_name][$lang]['#disabled'] = TRUE;