Skip to content

Commit

Permalink
fix 'field does not have a default value' error reported via email
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
  • Loading branch information
d00p committed Mar 5, 2014
1 parent 2d68216 commit 08ce6be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions admin_customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,9 @@
`openbasedir` = '1',
`speciallogfile` = '0',
`specialsettings` = '',
`dkim_id` = '0',
`dkim_privkey` = '',
`dkim_pubkey` = '',
`add_date` = :adddate"
);
Database::pexecute($ins_stmt, $ins_data);
Expand Down
3 changes: 3 additions & 0 deletions admin_domains.php
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,9 @@
`aliasdomain` = :aliasdomain,
`zonefile` = :zonefile,
`dkim` = :dkim,
`dkim_id` = '0',
`dkim_privkey` = '',
`dkim_pubkey` = '',
`wwwserveralias` = :wwwserveralias,
`iswildcarddomain` = :iswildcarddomain,
`isbinddomain` = :isbinddomain,
Expand Down
6 changes: 3 additions & 3 deletions install/froxlor.sql
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ CREATE TABLE `panel_domains` (
`caneditdomain` tinyint(1) NOT NULL default '1',
`zonefile` varchar(255) NOT NULL default '',
`dkim` tinyint(1) NOT NULL default '0',
`dkim_id` int(11) unsigned NOT NULL,
`dkim_privkey` text NOT NULL,
`dkim_pubkey` text NOT NULL,
`dkim_id` int(11) unsigned NOT NULL default '0',
`dkim_privkey` text NOT NULL default '',
`dkim_pubkey` text NOT NULL default '',
`wwwserveralias` tinyint(1) NOT NULL default '1',
`parentdomainid` int(11) unsigned NOT NULL default '0',
`openbasedir` tinyint(1) NOT NULL default '0',
Expand Down

0 comments on commit 08ce6be

Please sign in to comment.