Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cornernote committed Jul 6, 2015
1 parent 650dfd6 commit 4f283a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sortable.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ protected function hasDisabledItem()
protected function renderItems()
{
$items = '';
$disabled = false;
$handle = ($this->showHandle) ? Html::tag('span', $this->handleLabel, ['class' => 'handle']) : '';
foreach ($this->items as $item) {
$options = ArrayHelper::getValue($item, 'options', []);
Expand Down Expand Up @@ -159,4 +158,4 @@ public function registerAssets()
}
$view->registerJs($js);
}
}
}

0 comments on commit 4f283a3

Please sign in to comment.