]> _ Git - ccv-wordpress.git/commitdiff
Fix #3926 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Thu, 1 Oct 2020 14:02:36 +0000 (16:02 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Thu, 1 Oct 2020 14:02:36 +0000 (16:02 +0200)
wp-content/mu-plugins/cube/src/Forms/Base.php

index ed4fb4397c11f3be470cbc5507343b11968607e0..0082c83b5441f1a7b487f6ab6f1cf80462948eb6 100644 (file)
@@ -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);