FIX php warning method declaration

This commit is contained in:
florian HENRY 2016-06-20 15:50:00 +02:00
parent 195fcc5653
commit c34ef410e8

View File

@ -105,7 +105,7 @@ class mod_codecompta_aquarium extends ModeleAccountancyCode
* @param string $type 'customer' or 'supplier'
* @return int >=0 if OK, <0 if KO
*/
function get_code($db, $societe, $type)
function get_code($db, $societe, $type='')
{
$i = 0;
$this->db = $db;