Issue #1879774 by damiankloip, dawehner, xjm: Catch plugin exceptions for invalid views display plugins.
parent
d19a740f9c
commit
db2df2d808
|
@ -142,7 +142,7 @@ class Rearrange extends ViewsFormBase {
|
||||||
$new_fields = $order = array();
|
$new_fields = $order = array();
|
||||||
|
|
||||||
// Make an array with the weights
|
// 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
|
// add each value that is a field with a weight to our list, but only if
|
||||||
// it has had its 'removed' checkbox checked.
|
// it has had its 'removed' checkbox checked.
|
||||||
if (is_array($info) && isset($info['weight']) && empty($info['removed'])) {
|
if (is_array($info) && isset($info['weight']) && empty($info['removed'])) {
|
||||||
|
|
Loading…
Reference in New Issue