瀏覽代碼

Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0

Laurent Destailleur 2 年之前
父節點
當前提交
bcbf4d54ab
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      build/generate_filelist_xml.php

+ 3 - 2
build/generate_filelist_xml.php

@@ -55,9 +55,10 @@ if (empty($argv[1])) {
 
 
 $i=0;
+$result = array();
 while ($i < $argc) {
-	if (! empty($argv[$i])) {
-		parse_str($argv[$i]);	// set all params $release, $includecustom, $includeconstant, $buildzip ...
+	if (!empty($argv[$i])) {
+		parse_str($argv[$i], $result);	// set all params $release, $includecustom, $includeconstant, $buildzip ...
 	}
 	if (preg_match('/includeconstant=/', $argv[$i])) {
 		$tmp=explode(':', $includeconstant, 3);			// $includeconstant has been set with previous parse_str()