Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed Apr 13, 2018
1 parent 60a76b2 commit aa1b101
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/system/fields/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ public function onContentAfterDelete($context, $item)
}

$context = $parts[0] . '.' . $parts[1];

JLoader::import('joomla.application.component.model');

JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_fields/models', 'FieldsModel');

$model = JModelLegacy::getInstance('Field', 'FieldsModel', array('ignore_request' => true));
Expand Down

0 comments on commit aa1b101

Please sign in to comment.