Update database.php
This commit is contained in:
parent
b70dd192c3
commit
944b14662d
|
@ -334,13 +334,13 @@ if(!check_function_exists("get_bind_to_sql_insert")) {
|
||||||
$_bind_V[$k] = $v;
|
$_bind_V[$k] = $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$sql = get_bind_to_sql_select($tablename, $_bind_K, array(
|
$_sql = get_bind_to_sql_select($tablename, $_bind_K, array(
|
||||||
"getcnt" => true,
|
"getcnt" => true,
|
||||||
"setwheres" => $setnotwhere
|
"setwheres" => $setnotwhere
|
||||||
));
|
));
|
||||||
$rows = exec_db_fetch_all($sql, $du_bind);
|
$_rows = exec_db_fetch_all($sql, $_bind_K);
|
||||||
foreach($rows as $row) {
|
foreach($_rows as $_row) {
|
||||||
$num_duplicates += intval($row['cnt']);
|
$num_duplicates += intval($_row['cnt']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// make statements
|
// make statements
|
||||||
|
|
Loading…
Reference in New Issue
Block a user