1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

PM class - fix PHP 8 #4998

fix for #4998 Fatal error: Uncaught TypeError: count()

Pull request: https://github.com/e107inc/e107/pull/5006
This commit is contained in:
Jimako 2023-06-07 07:32:32 +02:00 committed by Nick Liu
parent 8a1a129c14
commit 8324e24776
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

@ -120,6 +120,7 @@ class private_message
$ret = '';
$addOutbox = TRUE;
$timestamp = time();
$a_list = array();
$maxSendNow = varset($this->pmPrefs['pm_max_send'],100); // Maximum number of PMs to send without queueing them
if (isset($vars['pm_from']))