* only set image size when view a bug.

This commit is contained in:
wangchunsheng
2012-04-30 06:11:58 +00:00
parent bdb9f884e3
commit f0c8d1147e
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ class bug extends control
public function view($bugID)
{
/* Judge bug exits or not. */
$bug = $this->bug->getById($bugID);
$bug = $this->bug->getById($bugID, true);
if(!$bug) die(js::error($this->lang->notFound) . js::locate('back'));
/* Set menu. */