From 7afe7b52cd3c99a9b306068904cef3875bbafff5 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Mon, 17 Nov 2008 14:20:40 +0100 Subject: [PATCH] Fixed typo of new column "DBRecordsPerQuery" in admin/sources.php causing adding new sources to fail --- src/admin/sources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/sources.php b/src/admin/sources.php index 56d5d90..032a226 100644 --- a/src/admin/sources.php +++ b/src/admin/sources.php @@ -706,7 +706,7 @@ if ( isset($_POST['op']) ) } 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'] . "', '" . $content['Description'] . "', " . $content['SourceType'] . ",