mailwatch / MailWatch

MailWatch for MailScanner is a web-based front-end to MailScanner
http://mailwatch.org/
GNU General Public License v2.0
115 stars 66 forks source link

MailWatch: Quarantine list display doesn't work using PHP 8.1 #1277

Closed adri-k closed 1 year ago

adri-k commented 1 year ago

Issue summary

Quarantine doesn't display.

Steps to reproduce

  1. Login to MailWatch
  2. Press Quarantine in the main menu.

Expected result

A list of all dates with quarantined messages.

Actual result

Empty screen with a PHP error message in apache httpd-error.log.

Installation

Version and method

Server configuration

Client configuration

Solution

quarantine.php, line 156: $msg_ids = implode($items, ','); This syntax is no longer valid , starting with php 8.1. Change to: $msg_ids = implode(',', $items);