From f1dc6c534e9eb5071ca3ab3604a863ef878ca5ef Mon Sep 17 00:00:00 2001 From: Charly Root Date: Tue, 8 Oct 2013 00:00:22 +0200 Subject: fix complaining about attachment comment being NULL --- src/PhpBB3Impl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpBB3Impl.php b/src/PhpBB3Impl.php index d2c908b..de61c5b 100644 --- a/src/PhpBB3Impl.php +++ b/src/PhpBB3Impl.php @@ -221,7 +221,7 @@ class PhpBB3Impl implements PhpBB3 { foreach ($attachments as $a) { $attachment_data[] = $this->addAttachment( - $userId, $a['filename'], $a['comment'], $a['mimetype'], $a['data'] + $userId, $a['filename'], /* $a['comment'] */ 'EMail attachment', $a['mimetype'], $a['data'] ); } -- cgit v1.2.1