dolibarr-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-cvs] dolibarr/htdocs/commande fiche.php


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs/commande fiche.php
Date: Tue, 20 Jun 2006 13:42:12 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/20 13:42:12

Modified files:
        htdocs/commande: fiche.php 

Log message:
        bugfix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/commande/fiche.php?cvsroot=dolibarr&r1=1.203&r2=1.204

Patches:
Index: fiche.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/commande/fiche.php,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -b -r1.203 -r1.204
--- fiche.php   19 Jun 2006 20:37:54 -0000      1.203
+++ fiche.php   20 Jun 2006 13:42:11 -0000      1.204
@@ -19,7 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: fiche.php,v 1.203 2006/06/19 20:37:54 eldy Exp $
+ * $Id: fiche.php,v 1.204 2006/06/20 13:42:11 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/commande/fiche.php,v $
  */
 
@@ -27,7 +27,7 @@
        \file       htdocs/commande/fiche.php
        \ingroup    commande
        \brief      Fiche commande
-       \version    $Revision: 1.203 $
+       \version    $Revision: 1.204 $
 */
 
 require('./pre.inc.php');
@@ -202,6 +202,9 @@
        {
                $commande = new Commande($db);
                $ret=$commande->fetch($_POST['id']);
+               $soc = new Societe($db, $commande->socidp);
+               $soc->fetch($commande->socidp);
+               
                if ($ret < 0)
                {
                        dolibarr_print_error($db,$commande->error);
@@ -1775,5 +1778,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/06/19 20:37:54 $ - $Revision: 1.203 $');
+llxFooter('$Date: 2006/06/20 13:42:11 $ - $Revision: 1.204 $');
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]