* adjust for check custom pri.

This commit is contained in:
wangyidong
2018-01-30 09:57:56 +08:00
parent b557f3896d
commit 95db27aa7b
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -165,7 +165,7 @@ js::set('confirmDeleteTemplate', $lang->bug->confirmDeleteTemplate);
$hasCustomSeverity = false;
foreach($lang->bug->severityList as $severityKey => $severityValue)
{
if($severityKey != $severityValue)
if($severityKey != $severityValue or strlen($severityKey) != strlen($severityValue))
{
$hasCustomSeverity = true;
break;
@@ -190,7 +190,7 @@ js::set('confirmDeleteTemplate', $lang->bug->confirmDeleteTemplate);
$hasCustomPri = false;
foreach($lang->bug->priList as $priKey => $priValue)
{
if($priKey != $priValue)
if($priKey != $priValue or strlen($priKey) != strlen($priValue))
{
$hasCustomPri = true;
break;