* Fix bug #26903 and Fix todo unit test.
This commit is contained in:
@@ -154,8 +154,8 @@ $lang->story->children = "子需求";
|
||||
$lang->story->childrenAB = "子";
|
||||
$lang->story->linkStories = "相关{$lang->SRCommon}";
|
||||
$lang->story->linkRequirements = "相关{$lang->URCommon}";
|
||||
$lang->story->childStories = "细分需求";
|
||||
$lang->story->duplicateStory = "重复需求ID";
|
||||
$lang->story->childStories = "细分{$lang->SRCommon}";
|
||||
$lang->story->duplicateStory = "重复{$lang->SRCommon}ID";
|
||||
$lang->story->reviewResult = '评审意见';
|
||||
$lang->story->reviewResultAB = '评审结果';
|
||||
$lang->story->preVersion = '之前版本';
|
||||
|
||||
@@ -1087,7 +1087,7 @@ class userModel extends model
|
||||
if(!$stmt) return array('rights' => $rights, 'acls' => $acls);
|
||||
while($row = $stmt->fetch(PDO::FETCH_ASSOC))
|
||||
{
|
||||
$rights[strtolower($row['module'])][strtolower($row['method'])] = true;
|
||||
if($row['module'] and $row['method']) $rights[strtolower($row['module'])][strtolower($row['method'])] = true;
|
||||
}
|
||||
|
||||
/* Get can manage projects by user. */
|
||||
|
||||
Reference in New Issue
Block a user