Commit 9ded1c30 authored by merlinofchaos's avatar merlinofchaos
Browse files

Invalidate cache when saving view from the UI so that inline arg cache gets rewritten

parent ad9e257d
......@@ -1708,6 +1708,7 @@ function views_edit_view_submit($form_id, $form) {
}
_views_save_view($view);
views_invalidate_cache();
menu_rebuild();
if ($form['vid']) {
drupal_set_message(t('View successfully saved.'));
......@@ -1718,8 +1719,7 @@ function views_edit_view_submit($form_id, $form) {
if ($form['op'] == t('Save')) {
return 'admin/build/views';
}
}
}
/**
......
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