From: Stephen Cameron Date: Thu, 1 Oct 2020 14:02:36 +0000 (+0200) Subject: Fix #3926 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1ee375c74296b25fe794bc4fdbde023fda147126;p=ccv-wordpress.git Fix #3926 @0.5 --- diff --git a/wp-content/mu-plugins/cube/src/Forms/Base.php b/wp-content/mu-plugins/cube/src/Forms/Base.php index ed4fb43..0082c83 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Base.php +++ b/wp-content/mu-plugins/cube/src/Forms/Base.php @@ -171,7 +171,7 @@ class Base // Temporarily hook directly into PHPMailer so we can attach files AND set their names // Ref: https://stackoverflow.com/a/57778561 - public function attach_files(\PHPMailer $PHPMailer) { + public function attach_files($PHPMailer) { $files = $this->normalise_files($_FILES);