From 50cf7e4b31c7fe610a6029eccbe61abc8475d0f4 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sun, 13 Mar 2011 03:55:17 +0000 Subject: [PATCH] * adjust the code style and comment. --- module/bug/control.php | 2 +- module/release/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 9783e727d6..f5c4cefb7a 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -185,7 +185,7 @@ class bug extends control $users = $this->user->getPairs('noletter'); - /* Get custome fields. */ + /* Get custom fields. */ $customFields = $this->cookie->bugFields != false ? $this->cookie->bugFields : $this->config->bug->list->defaultFields; $customed = !($customFields == $this->config->bug->list->defaultFields); diff --git a/module/release/control.php b/module/release/control.php index 38a7db641a..c7f15b3021 100644 --- a/module/release/control.php +++ b/module/release/control.php @@ -63,7 +63,7 @@ class release extends control $this->commonAction($productID); $this->view->header->title = $this->lang->release->create; $this->view->position[] = $this->lang->release->create; - $this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID); + $this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID); unset($this->view->builds['trunk']); $this->display(); }