marclaporte on master
Typos (compare)
jasonmunro on master
limit travis to PHP 7.2+, phpun… (compare)
jasonmunro on master
travis composer fix (compare)
jasonmunro on master
another attempt to make travis … (compare)
jasonmunro on master
more travis tweaking (compare)
jasonmunro on master
try to get things working bette… (compare)
jasonmunro on master
try all version of PHP in travi… (compare)
jasonmunro on master
more work to make 2fa compatibl… (compare)
jasonmunro on master
remove debug (compare)
jasonmunro on master
change 2fa barcode gen to hopef… (compare)
I might have found something. Around line 918 (I have edited the file, so it might be off a couple of lines) of the file modules/imap/handler_modules.php
there is an if statement that reads:
elseif ($form['action_type'] == 'archive' && $archive_folder && $archive_folder != hex2bin($folder))
The condition is not met because $archive_folder is unset.
This is because, around line 892 of the same file, this test fails:
if (array_key_exists($server, $specials)) {
I believe to have fixed the issue, perhaps somebody more familiar with the code can review the change?
I replaced the body of the following if statement (around line 890):
if ($form['action_type'] == 'archive') {
with:
if(array_key_exists('archive', $specials)) {
if($specials['archive']) {
$archive_folder = $specials['archive'];
}
}
I essentially copied the code referring to the trash folder just above. It seems that the previous code expected $specials[$server]['archive']
to exist but, at least in my case, $specials
already refers to one specific server.