Skip to content

Commit

Permalink
Update AdjacencyList.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ydtg1993 authored Aug 11, 2020
1 parent c7d0326 commit d67aa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/AdjacencyList.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function buildSelect($id, $label, $value,array $default = [])
$js = file_get_contents(__DIR__ . '/../Static/dendrogramUnlimitedSelect.js');
$js = sprintf($js, $label, $value,json_encode($default));
$data = AdjacencyListModel::getChildren($id, 'DESC');
(!config('dendrogram.expand',true)) ? Func::sys($data) : '';
(config('dendrogram.expand',true)) ? Func::sys($data) : '';
$tree = json_encode(self::makeTeeData($data));
$view = <<<EOF
<style>%s</style>
Expand Down

0 comments on commit d67aa59

Please sign in to comment.