Skip to content

Commit 7fa44a0

Browse files
author
Till Brehm
committed
Merge branch '6481-replication-failed-with-uncaught-error-undefined-constant-dbtable' into 'develop'
Resolve "replication failed with Uncaught Error: Undefined constant "dbtable"" Closes #6481 See merge request ispconfig/ispconfig3!1706
2 parents 4052ec7 + 56c5fc5 commit 7fa44a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/modules.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function processDatalog() {
186186
$app->db->query($sql, $d['dbtable'], $idx[0], $idx[1]);
187187
if($app->db->errorNumber > 0) {
188188
$replication_error = true;
189-
$app->log("Replication failed. Error: (" . $d[dbtable] . ") " . $app->db->errorMessage . " # SQL: " . $sql, LOGLEVEL_ERROR);
189+
$app->log("Replication failed. Error: (" . $d['dbtable'] . ") " . $app->db->errorMessage . " # SQL: " . $sql, LOGLEVEL_ERROR);
190190
}
191191
$log = $app->db->_build_query_string($sql, $d['dbtable'], $idx[0], $idx[1]);
192192
$app->log('Replicated from master: '.$log, LOGLEVEL_DEBUG);

0 commit comments

Comments
 (0)