* Fix an error.

This commit is contained in:
Yagami
2021-06-16 13:45:07 +08:00
parent 93430eae9f
commit 93ba2dce18
+1 -1
View File
@@ -385,7 +385,7 @@ $projectIDParam = $isProjectStory ? "projectID=$projectID&" : '';
echo "<li $class>" . html::a('javascript:;', $lang->story->review, '', $class) . '</li>';
}
if($canBatchChangeBranch and $this->session->currentProductType != 'normal')
if($canBatchChangeBranch and $this->session->currentProductType and $this->session->currentProductType != 'normal')
{
$withSearch = count($branches) > 8;
echo "<li class='dropdown-submenu'>";