fix in where clause
This commit is contained in:
parent
167ef6d9f4
commit
4c252a2753
2 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ class @class_name@ @mother_class@
|
|||
{
|
||||
$where="";
|
||||
if ( trim($cond) != '') $where="where";
|
||||
$sql="select * from @table@ where $cond";
|
||||
$sql="select * from @table@ $where $cond";
|
||||
$aobj=array();
|
||||
$array= $this->cn->get_array($sql,$p_array);
|
||||
// map each row in a object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue