Skip to content
Snippets Groups Projects
Commit e8b0a668 authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Issue #3224847 by TR: Error in entity_entity_property_edit_form_validate()

parent 48a7baca
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ function entity_entity_property_edit_form_validate($form, &$form_state) {
$parts = explode(':', $form_state['values']['selector']);
foreach ($parts as $part) {
if (!($wrapper instanceof EntityStructureWrapper || $wrapper instanceof EntityListWrapper)) {
form_set_error('selector', t('Unable to apply the data selector part %key.'. array('%key' => $part)));
form_set_error('selector', t('Unable to apply the data selector part %key.', array('%key' => $part)));
continue;
}
$wrapper = $wrapper->get($part);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment