This commit is contained in:
Regis Houssin 2006-05-03 13:15:58 +00:00
parent 732bd5d47a
commit bd46a6f156

View File

@ -75,6 +75,7 @@ class mod_commande_opale extends ModeleNumRefCommandes
$com='';
$sql = "SELECT MAX(ref)";
$sql.= " FROM ".MAIN_DB_PREFIX."commande";
$sql.= " WHERE ref like 'COM%'";
$resql=$db->query($sql);
if ($resql)
{