+redo task#406

This commit is contained in:
chencongzhi520@gmail.com
2011-04-16 05:20:29 +00:00
parent 03eb4f6ac9
commit 7c632f27d8
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -295,7 +295,6 @@ class product extends control
$this->view->position[] = $this->lang->product->roadmap;
$this->view->product = $product;
$this->view->roadmaps = $this->product->getRoadmap($productID);
ksort($this->view->roadmaps);
$this->display();
}
+2 -1
View File
@@ -243,7 +243,8 @@ class productModel extends model
$year = substr($plan->end, 0, 4);
$roadmap[$year][] = $plan;
}
arsort($roadmap);
ksort($roadmap);
return $roadmap;
}