* Fix bug when project is 0.

This commit is contained in:
liumengyi
2023-07-17 15:52:45 +08:00
parent 1af42729f0
commit 17f210be5b
+1 -1
View File
@@ -234,7 +234,7 @@ function loadExecutions(productID, projectID = 0)
function loadExecutionLabel(projectID)
{
if(config.currentMethod == 'create' && projectID)
if(config.currentMethod == 'create' && projectID > 0)
{
const link = $.createLink('bug', 'ajaxGetExecutionLang', 'projectID=' + projectID);
$.post(link, function(executionLang)