mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
Fixed typo of new column "DBRecordsPerQuery" in admin/sources.php causing adding new sources to fail
This commit is contained in:
parent
1d87c5d577
commit
7afe7b52cd
@ -706,7 +706,7 @@ if ( isset($_POST['op']) )
|
|||||||
}
|
}
|
||||||
else if ( $content['SourceType'] == SOURCE_DB || $content['SourceType'] == SOURCE_PDO )
|
else if ( $content['SourceType'] == SOURCE_DB || $content['SourceType'] == SOURCE_PDO )
|
||||||
{
|
{
|
||||||
$sqlquery = "INSERT INTO " . DB_SOURCES . " (Name, Description, SourceType, MsgParserList, MsgNormalize, MsgSkipUnparseable, ViewID, DBTableType, DBType, DBServer, DBName, DBUser, DBPassword, DBTableName, DBEnableRowCounting, SourceDBRecordsPerQuery, userid, groupid)
|
$sqlquery = "INSERT INTO " . DB_SOURCES . " (Name, Description, SourceType, MsgParserList, MsgNormalize, MsgSkipUnparseable, ViewID, DBTableType, DBType, DBServer, DBName, DBUser, DBPassword, DBTableName, DBEnableRowCounting, DBRecordsPerQuery, userid, groupid)
|
||||||
VALUES ('" . $content['Name'] . "',
|
VALUES ('" . $content['Name'] . "',
|
||||||
'" . $content['Description'] . "',
|
'" . $content['Description'] . "',
|
||||||
" . $content['SourceType'] . ",
|
" . $content['SourceType'] . ",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user