Skip to content

Commit 1746abe

Browse files
authored
Update setup.php, (#321)
Correct error : php error - Error: Unknown column '' in 'WHERE' #299 Adding $syslog_incoming_config into the global on syslog_connect will resolve the issue. $syslog_incoming_config is not used here, but it's define by a call to include(SYSLOG_CONFIG)
1 parent a626774 commit 1746abe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function plugin_syslog_upgrade() {
169169
}
170170

171171
function syslog_connect() {
172-
global $config, $syslog_cnn, $syslogdb_default, $local_db_cnn_id, $remote_db_cnn_id;
172+
global $config, $syslog_cnn, $syslogdb_default, $local_db_cnn_id, $remote_db_cnn_id, $syslog_incoming_config;
173173

174174
syslog_determine_config();
175175

0 commit comments

Comments
 (0)