Skip to content
Snippets Groups Projects

Update DraggableViews.php

1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -56,7 +56,7 @@ class DraggableViews {
return 0;
}
$row = $this->view->result[$index];
$parentIndex = (int) $this->getIndex($row->draggableviews_structure_parent);
$parentIndex = (isset($row->draggableviews_structure_parent)) ? (int) $this->getIndex($row->draggableviews_structure_parent) : 0;
Please register or sign in to reply
// Prevent infinite recursion.
if ($parentIndex === $index) {
Loading