Yentl Van Tendeloo пре 8 година
родитељ
комит
b096ac52a9
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      bootstrap/core_algorithm.alc

+ 1 - 2
bootstrap/core_algorithm.alc

@@ -330,8 +330,7 @@ String function store_entry(model_id : String, full_name : String, user_id : Str
 	// Go through folders first
 	while (i < list_len(hierarchy) - 1):
 		elem = list_read(hierarchy, i)
-		if (cummul != ""):
-			cummul = string_join(cummul + "/", elem)
+		cummul = string_join(cummul + "/", elem)
 
 		if (get_entry_id(cummul) == ""):
 			// Element does not exist yet!