fix small bugs

This commit is contained in:
Dany De Bontridder 2010-07-04 00:52:10 +00:00
parent 7313ec47c1
commit 6fff7840b7

View file

@ -116,7 +116,7 @@ class @class_name@ @mother_class@
if ( trim($cond) != '') $where="where"
$sql="select * from @table@ where $cond";
$aobj=array();
$array= $this->cn->get_array($cond,$p_array);
$array= $this->cn->get_array($sql,$p_array);
// map each row in a object
$size=$this->cn->count();
if ( $size == 0 ) return $aobj;
@ -212,7 +212,7 @@ $cn->rollback();
}
}
@class_name@::test_me();
// @class_name@::test_me();
"""
sChild="""<?php