Skip to content

Commit

Permalink
underlying db field is set to an int (for mysql and pgsql), pgsql doe…
Browse files Browse the repository at this point in the history
…s not cope with t/f being set for an inty field, so change the model definition .... - see #814
  • Loading branch information
DavidGoodwin committed Apr 7, 2024
1 parent 065d68a commit 279e7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/MailboxHandler.php
Expand Up @@ -51,7 +51,7 @@ protected function initStruct()
# read_from_db_postprocess() also sets 'quotabytes' for use in init()
# TODO: read used quota from quota/quota2 table
'active' => pacol(1, 1, 1, 'bool', 'active' , '' , 1 ),
'smtp_active' => pacol($smtpActiveFlag, $smtpActiveFlag,0, 'bool', 'smtp_active' , '' , 1 ),
'smtp_active' => pacol($smtpActiveFlag, $smtpActiveFlag,0, 'int', 'smtp_active' , '' , 1 ),
'welcome_mail' => pacol($this->new, $this->new, 0, 'bool', 'pCreate_mailbox_mail' , '' , 1,
/*options*/ array(),
/*not_in_db*/ 1 ),
Expand Down

0 comments on commit 279e7f6

Please sign in to comment.