Commit 8a17ae78 authored by Artem Dmitriiev's avatar Artem Dmitriiev
Browse files

Resolve #3269552 "Warning count parameter"

parent 589c6e55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ class DashboardForm extends EntityForm {
        $regionOptions[$i] = $i . ' ' . $this->t('Column');
      }

      $entities = $dashboard->get('blocks');
      $entities = $dashboard->get('blocks') ?? [];

      // Weights range from -delta to +delta, so delta should be at least half
      // of the amount of blocks present. This makes sure all blocks in the same