Commit 7899ed98 authored by severin unger's avatar severin unger

#677886: Loosing settings after update from Views 6.x-2.7 to Views 6.x-2.8. Reported by NaX

parent e7b9a541
......@@ -511,7 +511,7 @@ function draggableviews_perm() {
*/
function draggableviews_draggableviews_style_plugin_form_alter(&$form, $form_state, $style_plugin) {
// Check for input.
if (count($form_state['input']) > 0) {
if (!empty($input['style_options'])) {
// Define the input data as the current data.
$current = $form_state['input']['style_options'];
}
......
......@@ -143,7 +143,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
$form['draggableviews_extensions'] = array();
// Check for input.
if (count($input) > 0) {
if (!empty($input['style_options'])) {
// Define the input data as the current data.
$current = $form_state['input']['style_options'];
}
......
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