Fix: Missing fetch
This commit is contained in:
parent
a97641eb1e
commit
fef6419c75
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ if ($_POST["action"] == 'add' && $account && ! isset($_POST["cancel"]) && $user-
|
|||
|
||||
if (! $mesg)
|
||||
{
|
||||
$acct=new Account($db,$account);
|
||||
$acct=new Account($db);
|
||||
$acct->fetch($account);
|
||||
$insertid = $acct->addline($dateop, $operation, $label, $amount, $num_chq, $cat1, $user);
|
||||
if ($insertid > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue