* finish task #970.

This commit is contained in:
wangyidong
2012-12-11 08:40:52 +00:00
parent 6030b6218e
commit ef70f537e5
2 changed files with 2 additions and 2 deletions

View File

@@ -624,7 +624,7 @@ class projectModel extends model
$now = date('Y-m-d');
foreach($projects as $id => $project)
{
if($this->checkPriv($project) and ($project->status == 'done' or $project->end <= $now)) $pairs[$id] = $project->name;
if($this->checkPriv($project) and ($project->status == 'done' or $project->end < $now)) $pairs[$id] = $project->name;
}
return $pairs;
}

View File

@@ -18,7 +18,7 @@
<?php
$projects = array(0 => $lang->project->fromproject) + $projects;
echo $lang->project->selectProject . ':';
echo html::select('fromproject', $projects, $fromProject, "class='select-2' onchange='reload($projectID, this.value)'");
echo html::select('fromproject', $projects, $fromProject, "onchange='reload($projectID, this.value)'");
?>
</caption>
<thead>