* Adjust the printIcon function.

This commit is contained in:
chencongzhi520@gmail.com
2012-07-02 01:24:48 +00:00
parent 52a94383bc
commit cad45cb7e1
+2 -1
View File
@@ -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);