Skip to content

Commit

Permalink
Code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
moisespsena committed May 23, 2016
1 parent 6441433 commit ccd9815
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Form/Element/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,7 @@ protected function loadOptions()
}

// call the pre load options query preparer if has be set
if (! is_null($this->getLoadOptionsQueryPreparer())) {
$preparer = $this->getLoadOptionsQueryPreparer();
if (! is_null($preparer = $this->getLoadOptionsQueryPreparer())) {
$options = $preparer($this, $options);
}

Expand Down

0 comments on commit ccd9815

Please sign in to comment.