diff --git a/app/templates/element/form/listItem.php b/app/templates/element/form/listItem.php index 50d7aa60d..050e90cc0 100644 --- a/app/templates/element/form/listItem.php +++ b/app/templates/element/form/listItem.php @@ -40,9 +40,8 @@ $fieldName = $arguments['fieldName']; $this->set('vv_field_arguments', $arguments); -$qualifiedModelName = StringUtilities::entityToPluginClassName($this->Field->getEntity()); -$plugin = StringUtilities::pluginPlugin($qualifiedModelName); -$controller = StringUtilities::pluginModel($qualifiedModelName); +$plugin = $this->getRequest()->getParam('plugin'); +$controller = (string)$this->getRequest()->getParam('controller'); // If an attribute is frozen, inject a special link to unfreeze it, since // the attribute is read-only and the admin can't simply uncheck the setting