Update database.php
This commit is contained in:
parent
539cd7e521
commit
065f528a1f
|
@ -315,6 +315,7 @@ if(!check_function_exists("get_bind_to_sql_insert")) {
|
|||
|
||||
// get not duplicatable fieldnames
|
||||
$setduplicate = get_array(get_value_in_array("setduplicate", $options, false));
|
||||
$setnotwhere = get_array(get_value_in_array("setnotwhere", $options, false));
|
||||
|
||||
// get number of duplicated rows
|
||||
$num_duplicates = 0;
|
||||
|
@ -328,7 +329,8 @@ if(!check_function_exists("get_bind_to_sql_insert")) {
|
|||
}
|
||||
}
|
||||
$sql = get_bind_to_sql_select($tablename, $_bind_T, array(
|
||||
"getcnt" => true
|
||||
"getcnt" => true,
|
||||
"setwheres" => $setnotwhere
|
||||
));
|
||||
$rows = exec_db_fetch_all($sql, $du_bind);
|
||||
foreach($rows as $row) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user