* Fix bug #26903 and Fix todo unit test.

This commit is contained in:
tanghucheng
2022-08-26 09:09:45 +08:00
parent f36224ffbc
commit 827d6f5082
5 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -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 = '之前版本';
+1 -1
View File
@@ -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. */