summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharly Root <root@muse-sequencer.org>2013-10-08 00:00:22 +0200
committerCharly Root <root@muse-sequencer.org>2013-10-08 00:00:22 +0200
commitf1dc6c534e9eb5071ca3ab3604a863ef878ca5ef (patch)
tree982ab2358839208a4004a3af44452e2156833e46
parentd4e28b7d94d7eed6edae05729e14e51b30f87e18 (diff)
fix complaining about attachment comment being NULL
-rw-r--r--src/PhpBB3Impl.php2
1 files changed, 1 insertions, 1 deletions
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']
);
}