mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +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:
parent
8a1a129c14
commit
8324e24776
@ -120,6 +120,7 @@ class private_message
|
|||||||
$ret = '';
|
$ret = '';
|
||||||
$addOutbox = TRUE;
|
$addOutbox = TRUE;
|
||||||
$timestamp = time();
|
$timestamp = time();
|
||||||
|
$a_list = array();
|
||||||
|
|
||||||
$maxSendNow = varset($this->pmPrefs['pm_max_send'],100); // Maximum number of PMs to send without queueing them
|
$maxSendNow = varset($this->pmPrefs['pm_max_send'],100); // Maximum number of PMs to send without queueing them
|
||||||
if (isset($vars['pm_from']))
|
if (isset($vars['pm_from']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user