Modif de l'appel de Export()
This commit is contained in:
parent
654dee0641
commit
44be1edbcd
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -205,7 +205,7 @@ class ComptaExport
|
|||||||
\brief Créé le fichier d'export
|
\brief Créé le fichier d'export
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function Export($id=0)
|
function Export($id=0, $dir)
|
||||||
{
|
{
|
||||||
$error = 0;
|
$error = 0;
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ class ComptaExport
|
|||||||
|
|
||||||
$objexport = new $objexport_name($this->db, $this->user);
|
$objexport = new $objexport_name($this->db, $this->user);
|
||||||
|
|
||||||
$objexport->Export($this->linec, $this->linep, $id);
|
$objexport->Export($dir, $this->linec, $this->linep, $id);
|
||||||
|
|
||||||
$this->id = $objexport->id;
|
$this->id = $objexport->id;
|
||||||
$this->ref = $objexport->ref;
|
$this->ref = $objexport->ref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user