Skip to content

Commit

Permalink
Merge pull request #65 from vsc55/#58
Browse files Browse the repository at this point in the history
fix db_template, "db_update_v12" missing.
  • Loading branch information
alorbach authored Jul 8, 2020
2 parents 77b264b + 75776cf commit 9eadf1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/admin/reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@
else
{
$sqlquery = "UPDATE " . DB_SAVEDREPORTS . " SET
sourceid = " . $content['SourceID'] . ",
sourceid = '" . $content['SourceID'] . "',
customTitle = '" . $content['customTitle'] . "',
customComment = '" . $content['customComment'] . "',
filterString = '" . $content['filterString'] . "',
Expand Down
2 changes: 1 addition & 1 deletion src/include/db_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ DROP TABLE IF EXISTS `logcon_savedreports`;
CREATE TABLE `logcon_savedreports` (
`ID` int(11) NOT NULL auto_increment,
`reportid` varchar(255) NOT NULL,
`sourceid` int(11) NOT NULL,
`sourceid` varchar(11) NOT NULL,
`customTitle` varchar(255) NOT NULL,
`customComment` text NOT NULL,
`filterString` text NOT NULL,
Expand Down

0 comments on commit 9eadf1d

Please sign in to comment.