* fix notice for class.
This commit is contained in:
@@ -788,6 +788,7 @@ class projectModel extends model
|
||||
$products = array_unique($_POST['products']);
|
||||
foreach($products as $productID)
|
||||
{
|
||||
$data = new stdclass();
|
||||
$data->project = $projectID;
|
||||
$data->product = $productID;
|
||||
$this->dao->insert(TABLE_PROJECTPRODUCT)->data($data)->exec();
|
||||
|
||||
@@ -133,6 +133,7 @@ class testtask extends control
|
||||
|
||||
$projects = $this->dao->select('id, name')->from(TABLE_PROJECT)->where('id')->eq($projectID)->fetchPairs('id');
|
||||
$builds = $this->dao->select('id, name')->from(TABLE_BUILD)->where('project')->eq($projectID)->fetchPairs('id');
|
||||
$builds = array('trunk' => 'Trunk') + $builds;
|
||||
}
|
||||
|
||||
/* Create testtask from testtask of test.*/
|
||||
|
||||
Reference in New Issue
Block a user