Fix warning

This commit is contained in:
Laurent Destailleur 2017-01-03 11:34:37 +01:00
parent 27c056d377
commit 4907f9581f

View File

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