fix bug in creating file

This commit is contained in:
Dany De Bontridder 2010-08-08 16:41:51 +00:00
parent 1b5c936dda
commit 3ffa6ed4b3
2 changed files with 2 additions and 1 deletions

View file

@ -3,5 +3,5 @@ SELECT
FROM
information_schema.columns
WHERE
columns.table_name='member_record';
columns.table_name='section_ledger';

View file

@ -71,6 +71,7 @@ class @class_name@ @mother_class@
if ( $p_id == -1 ) {
/* Initialize an empty object */
foreach ($this->variable as $key=>$value) $this->$value='';
$this->@id@=$p_id;
} else {
/* load it */