Update database.php
This commit is contained in:
parent
04425ecd04
commit
c30158ab1c
|
@ -604,6 +604,13 @@ if(!check_function_exists("get_bind_to_sql_select")) {
|
|||
// s3: fields of where clause
|
||||
$s3 = get_bind_to_sql_where($bind, $options);
|
||||
|
||||
// s3i: set groups
|
||||
$s3i = "";
|
||||
if(!array_key_empty("setgroups", $options)) {
|
||||
$s3i = sprintf(" group by `%s`", implode("`, `", get_array($options['setgroups'])));
|
||||
$s3 .= $s3i;
|
||||
}
|
||||
|
||||
// s4: set orders
|
||||
$s4 = "";
|
||||
$s4a = array();
|
||||
|
|
Loading…
Reference in New Issue
Block a user