Fix: missing socid
This commit is contained in:
parent
61b3589fe0
commit
ceda1ad55c
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2006 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -172,7 +172,7 @@ if ($resql)
|
|||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|
||||||
$thirdpartystatic->id=$obj->rowid;
|
$thirdpartystatic->id=$obj->socid;
|
||||||
$thirdpartystatic->nom=$obj->nom;
|
$thirdpartystatic->nom=$obj->nom;
|
||||||
$thirdpartystatic->status=$obj->status;
|
$thirdpartystatic->status=$obj->status;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user