Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-11-26 09:13:35 +01:00
parent 9d2a5e6c42
commit b0b579bdbf

View File

@ -302,11 +302,12 @@ class modHoliday extends DolibarrModules
return 0; return 0;
} }
} }
*/
$sql = array( $sql = array(
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = '".$this->db->escape($this->const[0][2])."' AND type = 'holiday' AND entity = ".$conf->entity, // "DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = '".$this->db->escape($this->const[0][2])."' AND type = 'holiday' AND entity = ".$conf->entity,
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('".$this->db->escape($this->const[0][2])."','holiday',".$conf->entity.")" // "INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('".$this->db->escape($this->const[0][2])."','holiday',".$conf->entity.")"
);*/ );
return $this->_init($sql, $options); return $this->_init($sql, $options);
} }