* [bug#55204,done,1h] The module should be executionStory.
This commit is contained in:
@@ -509,6 +509,7 @@ class customModel extends model
|
||||
global $lang, $app;
|
||||
if(!isset($lang->$module->featureBar[$method])) return;
|
||||
$queryModule = $module == 'execution' ? 'task' : ($module == 'product' ? 'story' : $module);
|
||||
$queryModule = $module == 'execution' && $method == 'story' ? 'executionStory' : $queryModule;
|
||||
$shortcuts = $app->dbQuery('select id, title from ' . TABLE_USERQUERY . " where (`account` = '{$app->user->account}' or `common` = '1') AND `module` = '{$queryModule}' AND `shortcut` = '1' order by id")->fetchAll();
|
||||
|
||||
if($shortcuts)
|
||||
|
||||
Reference in New Issue
Block a user