From cad45cb7e1a4f482ffe86d496c7e1ef1b8e163b2 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Mon, 2 Jul 2012 01:24:48 +0000 Subject: [PATCH] * Adjust the printIcon function. --- module/common/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/common/control.php b/module/common/control.php index 1e8233502b..30e52e4cea 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -266,7 +266,8 @@ class common extends control } /* Set module and method, then create link to it. */ - if(strtolower($module) == 'testcase' and strtolower($method) == 'tobug') ($module = 'bug') and ($method = 'create'); + if(strtolower($module) == 'testcase' and strtolower($method) == 'tobug') ($module = 'bug') and ($method = 'create'); + if(strtolower($module) == 'story' and strtolower($method) == 'createcase') ($module = 'testcase') and ($method = 'create'); if(!common::hasPriv($module, $method)) return false; $link = helper::createLink($module, $method, $vars);