mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Merge pull request #46 from vsc55/master
Fix mysql error: Field 'grouptype' doesn't have a default value
This commit is contained in:
commit
3d5f284df6
@ -331,9 +331,10 @@ if ( isset($_POST['op']) )
|
||||
else
|
||||
{
|
||||
// Add new Group now!
|
||||
$result = DB_Query("INSERT INTO " . DB_GROUPS . " (groupname, groupdescription)
|
||||
$result = DB_Query("INSERT INTO " . DB_GROUPS . " (groupname, groupdescription, grouptype)
|
||||
VALUES ( '" . $content['groupname'] . "',
|
||||
'" . $content['groupdescription'] . "' )");
|
||||
'" . $content['groupdescription'] . "',
|
||||
0 )");
|
||||
DB_FreeQuery($result);
|
||||
|
||||
// Do the final redirect
|
||||
|
Loading…
x
Reference in New Issue
Block a user