Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions controllers/components/TreeComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,19 @@ public function getAllTrees($includeDao = false, $selected = array(), $showFilte
$none = OTJ_SOURCE_LICENSE_NOT_DEFINED;
$trees[] = array('dao' => new stdClass(), 'select' => 0, 'title' => "License", 'key' => -1,
'children' => array(
array('dao' => new stdClass(), 'select' => 0, 'title' => "Apache 2", 'key' => "license-$apache2",
array('dao' => new stdClass(), 'select' => 1, 'title' => "Apache 2", 'key' => "license-$apache2",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "Public Domain", 'key' => "license-$public_domain",
array('dao' => new stdClass(), 'select' => 1, 'title' => "Public Domain", 'key' => "license-$public_domain",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "Other", 'key' => "license-$other",
array('dao' => new stdClass(), 'select' => 1, 'title' => "Other", 'key' => "license-$other",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "GPL (Any Version)", 'key' => "license-$gpl",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "LGPL (Any Version)", 'key' => "license-$lgpl",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "BSD", 'key' => "license-$bsd",
'children' => array()),
array('dao' => new stdClass(), 'select' => 0, 'title' => "No License Specified", 'key' => "license-$none",
array('dao' => new stdClass(), 'select' => 1, 'title' => "No License Specified", 'key' => "license-$none",
'children' => array())
));
}
Expand Down