[Top][All Lists]
[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: |
Fri, 09 Jun 2006 13:21:47 +0000 |
CVSROOT: /cvsroot/dolibarr
Module name: dolibarr
Changes by: Regis Houssin <hregis> 06/06/09 13:21:47
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.194&r2=1.195
Patches:
Index: fiche.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/commande/fiche.php,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -b -r1.194 -r1.195
--- fiche.php 8 Jun 2006 10:35:21 -0000 1.194
+++ fiche.php 9 Jun 2006 13:21:47 -0000 1.195
@@ -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.194 2006/06/08 10:35:21 hregis Exp $
+ * $Id: fiche.php,v 1.195 2006/06/09 13:21:47 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.194 $
+ \version $Revision: 1.195 $
*/
require('./pre.inc.php');
@@ -287,7 +287,8 @@
if ($user->rights->commande->supprimer )
{
$commande = new Commande($db);
- $commande->id = $_GET['id'];
+ //$commande->id = $_GET['id'];
+ $commande->fetch($_GET['id']);
$commande->delete();
Header('Location: index.php');
exit;
@@ -1700,5 +1701,5 @@
$db->close();
-llxFooter('$Date: 2006/06/08 10:35:21 $ - $Revision: 1.194 $');
+llxFooter('$Date: 2006/06/09 13:21:47 $ - $Revision: 1.195 $');
?>