We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05cf809 commit 42211fdCopy full SHA for 42211fd
SQL/iredmail.my.sql
@@ -4,10 +4,8 @@ CREATE
4
SQL SECURITY DEFINER
5
VIEW `global_addressbook` AS
6
SELECT
7
- SUBSTR((UNIX_TIMESTAMP(`vmail`.`mailbox`.`passwordlastchange`) +
8
- UNIX_TIMESTAMP(`vmail`.`mailbox`.`modified`)) -
9
- UNIX_TIMESTAMP(`vmail`.`mailbox`.`created`),
10
- -(8)) AS `ID`,
+ SUBSTR((UNIX_TIMESTAMP(`vmail`.`mailbox`.`created`) -
+ CHAR_LENGTH(`vmail`.`mailbox`.`password`)), -(8)) AS `ID`,
11
`vmail`.`mailbox`.`name` AS `name`,
12
`vmail`.`mailbox`.`username` AS `email`,
13
`vmail`.`mailbox`.`domain` AS `domain`
0 commit comments