Commit cd079007 authored by catch's avatar catch
Browse files

Issue #3107006 by Rangaswini, Hardik_Patel_12, hash6: Remove unused variable...

Issue #3107006 by Rangaswini, Hardik_Patel_12, hash6: Remove unused variable from media.module and from UrlResolver.php files
parent 8faf10c9
......@@ -426,7 +426,7 @@ function media_filter_format_edit_form_validate($form, FormStateInterface $form_
return (string) $form['filters']['order'][$filter_plugin_id]['filter']['#markup'];
};
if ($filter_html_enabled && $allowed_html = $form_state->getValue($allowed_html_path)) {
if ($filter_html_enabled && $form_state->getValue($allowed_html_path)) {
/** @var \Drupal\filter\Entity\FilterFormat $filter_format */
$filter_format = $form_state->getFormObject()->getEntity();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment