diff --git a/htdocs/fourn/liste.php b/htdocs/fourn/liste.php index 53c72051293..b2ebc102075 100644 --- a/htdocs/fourn/liste.php +++ b/htdocs/fourn/liste.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2006 Regis Houssin + * Copyright (C) 2005-2011 Regis Houssin * * 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 @@ -172,7 +172,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - $thirdpartystatic->id=$obj->rowid; + $thirdpartystatic->id=$obj->socid; $thirdpartystatic->nom=$obj->nom; $thirdpartystatic->status=$obj->status;