Fixes for the new behaviour and set forms methods
This commit is contained in:
parent
f75ac6d78d
commit
9f35b00fed
7 changed files with 150 additions and 15 deletions
|
|
@ -23,12 +23,14 @@
|
|||
*/
|
||||
|
||||
|
||||
function select_a_row_where_method_class($class, $where, $arr_select=array(), $raw_query=0, $assoc=0)
|
||||
function select_a_row_where_method_class($class, $arr_select=array(), $raw_query=0, $assoc=0)
|
||||
{
|
||||
|
||||
settype($idrow, 'integer');
|
||||
|
||||
$query=$class->select($where, $arr_select, $raw_query);
|
||||
$query=$class->select($arr_select, $raw_query);
|
||||
|
||||
$class->set_limit('limit 1');
|
||||
|
||||
return $class->fetch_array($query, $assoc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue