From 328a48325979605153f1ba2b288def5ea5bf1ee6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 11 Apr 2005 23:54:48 +0000 Subject: [PATCH] Fix: Le lieu de l'entrepot ne s'affichait pas --- htdocs/product/stock/liste.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/product/stock/liste.php b/htdocs/product/stock/liste.php index 0e1e6fe80bd..b35ad30f7eb 100644 --- a/htdocs/product/stock/liste.php +++ b/htdocs/product/stock/liste.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,8 +46,8 @@ if (! $sortfield) $sortfield="e.label"; if (! $sortorder) $sortorder="ASC"; -$sql = "SELECT e.rowid as ref, e.label, e.statut, e.lieu, e.address, e.cp, e.ville, e.fk_pays"; -$sql.= " FROM ".MAIN_DB_PREFIX."entrepot as e"; +$sql = "SELECT e.rowid as ref, e.label, e.statut, e.lieu, e.address, e.cp, e.ville, e.fk_pays"; +$sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e"; $sql .= " ORDER BY $sortfield $sortorder"; $sql .= $db->plimit($limit + 1 ,$offset); $result = $db->query($sql) ; @@ -83,7 +83,7 @@ if ($result) print ''.img_object($langs->trans("ShowWarehouse"),'stock').' '.$objp->ref.''; print ''.$objp->label.''; print ''.$entrepot->LibStatut($objp->statut).''; - print ''.$entrepot->lieu.''; + print ''.$objp->lieu.''; print "\n"; $i++; }