Update list.php
This commit is contained in:
parent
1b04c4beb7
commit
f8771c2214
@ -269,6 +269,7 @@ if ($result)
|
|||||||
// Static objects
|
// Static objects
|
||||||
$subscription=new Subscription($db);
|
$subscription=new Subscription($db);
|
||||||
$adherent=new Adherent($db);
|
$adherent=new Adherent($db);
|
||||||
|
$accountstatic=new Account($db);
|
||||||
|
|
||||||
$total=0;
|
$total=0;
|
||||||
while ($i < min($num, $limit))
|
while ($i < min($num, $limit))
|
||||||
@ -308,9 +309,7 @@ if ($result)
|
|||||||
// Banque
|
// Banque
|
||||||
if (! empty($conf->banque->enabled))
|
if (! empty($conf->banque->enabled))
|
||||||
{
|
{
|
||||||
$accountstatic=new Account($db);
|
if ($obj->fk_account > 0)
|
||||||
|
|
||||||
if ($obj->fk_account)
|
|
||||||
{
|
{
|
||||||
$accountstatic->id=$obj->fk_account;
|
$accountstatic->id=$obj->fk_account;
|
||||||
$accountstatic->fetch($obj->fk_account);
|
$accountstatic->fetch($obj->fk_account);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user