We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313773e commit 5b35a71Copy full SHA for 5b35a71
server/lib/classes/modules.inc.php
@@ -105,7 +105,7 @@ function processDatalog() {
105
$tmp_sql2 = substr($tmp_sql2,0,-1);
106
//$tmp_sql1 .= "$idx[0]";
107
//$tmp_sql2 .= "$idx[1]";
108
- $sql = "INSERT INTO $d[dbtable] ($tmp_sql1) VALUES ($tmp_sql2)";
+ $sql = "REPLACE INTO $d[dbtable] ($tmp_sql1) VALUES ($tmp_sql2)";
109
$app->db->query($sql);
110
if($app->db->errorNumber > 0) {
111
$replication_error = true;
0 commit comments