Skip to content

Commit

Permalink
PM class - fix PHP 8 #4998
Browse files Browse the repository at this point in the history
fix for #4998 Fatal error: Uncaught TypeError: count()

Pull request: #5006
  • Loading branch information
Jimmi08 authored and Deltik committed Jun 14, 2023
1 parent 8a1a129 commit 8324e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e107_plugins/pm/pm_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function add($vars)
$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']))
Expand Down

0 comments on commit 8324e24

Please sign in to comment.