Skip to content

Commit 4ca3ce4

Browse files
committed
Merge branch 'master' of https://github.com/phpList/phplist3 into release-3.6.0
2 parents 4077317 + ff53c6f commit 4ca3ce4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

public_html/lists/admin/structure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
'htmlformatted' => array('tinyint default 0', 'Is this message HTML formatted'),
140140
'sendformat' => array('varchar(20)', 'Format to send this message in'),
141141
'template' => array('integer', 'Template to use'),
142-
'processed' => array('mediumint unsigned default 0', 'Number Processed'),
142+
'processed' => array('integer unsigned default 0', 'Number Processed'),
143143
'astext' => array('integer default 0', 'Sent as text'),
144144
'ashtml' => array('integer default 0', 'Sent as HTML'),
145145
'astextandhtml' => array('integer default 0', 'Sent as Text and HTML'), // obsolete

public_html/lists/admin/upgrade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ function output($message)
421421
SaveConfig('secret', bin2hex(random_bytes(20)));
422422
}
423423

424+
if (version_compare($dbversion, '3.6.0','<')) {
425+
Sql_Query("alter table {$GLOBALS['tables']['message']} change column processed processed integer ");
426+
}
427+
424428
//# longblobs are better at mixing character encoding. We don't know the encoding of anything we may want to store in cache
425429
//# before converting, it's quickest to clear the cache
426430
clearPageCache();

0 commit comments

Comments
 (0)