Issue #1879774 by damiankloip, dawehner, xjm: Catch plugin exceptions for invalid views display plugins.

8.0.x
Dries 2013-05-29 15:00:12 -04:00
parent d19a740f9c
commit db2df2d808
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Rearrange extends ViewsFormBase {
$new_fields = $order = array();
// Make an array with the weights
foreach ($form_state['values'] as $field => $info) {
foreach ($form_state['values']['fields'] as $field => $info) {
// add each value that is a field with a weight to our list, but only if
// it has had its 'removed' checkbox checked.
if (is_array($info) && isset($info['weight']) && empty($info['removed'])) {