* Fix bug #2499.
This commit is contained in:
@@ -195,6 +195,7 @@ js::set('flow', $config->global->flow);
|
||||
}
|
||||
$priList = $lang->bug->priList;
|
||||
if(end($priList)) unset($priList[0]);
|
||||
if(!isset($priList[$pri])) $pri = reset($priList);
|
||||
?>
|
||||
<?php if($hasCustomPri):?>
|
||||
<?php echo html::select('pri', (array)$priList, $pri, "class='form-control'");?>
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
}
|
||||
$priList = $lang->testcase->priList;
|
||||
if(end($priList)) unset($priList[0]);
|
||||
if(!isset($priList[$pri])) $pri = reset($priList);
|
||||
?>
|
||||
<?php if($hasCustomPri):?>
|
||||
<?php echo html::select('pri', (array)$priList, $pri, "class='form-control'");?>
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
|
||||
$priList = $lang->story->priList;
|
||||
if(end($priList)) unset($priList[0]);
|
||||
if(!isset($priList[$pri])) $pri = reset($priList);
|
||||
?>
|
||||
<?php if($hasCustomPri):?>
|
||||
<?php echo html::select('pri', (array)$priList, $pri, "class='form-control'");?>
|
||||
|
||||
@@ -163,6 +163,7 @@
|
||||
}
|
||||
$priList = $lang->task->priList;
|
||||
if(end($priList)) unset($priList[0]);
|
||||
if(!isset($priList[$task->pri])) $task->pri = reset($priList);
|
||||
?>
|
||||
<?php if($hasCustomPri):?>
|
||||
<?php echo html::select('pri', (array)$priList, $task->pri, "class='form-control'");?>
|
||||
|
||||
@@ -108,6 +108,7 @@
|
||||
}
|
||||
$priList = $lang->testcase->priList;
|
||||
if(end($priList)) unset($priList[0]);
|
||||
if(!isset($priList[$pri])) $pri = reset($priList);
|
||||
?>
|
||||
<?php if($hasCustomPri):?>
|
||||
<?php echo html::select('pri', (array)$priList, $pri, "class='form-control'");?>
|
||||
|
||||
Reference in New Issue
Block a user