瀏覽代碼

Fix warning

Laurent Destailleur 8 年之前
父節點
當前提交
4907f9581f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      htdocs/accountancy/class/html.formventilation.class.php

+ 3 - 1
htdocs/accountancy/class/html.formventilation.class.php

@@ -83,6 +83,8 @@ class FormVentilation extends Form
 
 		require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
 
+		$out = '';
+		
     	$options = array();
 		if ($usecache && ! empty($this->options_cache[$usecache]))
 		{
@@ -109,7 +111,7 @@ class FormVentilation extends Form
     			return -1;
     		}
 
-    		$out = ajax_combobox($htmlname, $event);
+    		$out .= ajax_combobox($htmlname, $event);
 
     		$selected = 0;
     		while ($obj = $this->db->fetch_object($resql))