diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index 1d6b6559017..253e154ff75 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -292,7 +292,7 @@ if ($_GET["id"] > 0) { /* } } else { dolibarr_print_error($db); -*/ } + }*/ } else { // Commande non trouvée print $langs->trans("ErrorPropalNotFound",$_GET["id"]); diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 502a2dea032..06e51557aea 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -38,6 +38,8 @@ class Commande { var $db ; var $id ; + var $socidp; + var $contactid; var $brouillon; // Pour board