summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PhpBB3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PhpBB3.php b/src/PhpBB3.php
index 6f829a9..c9acd1e 100644
--- a/src/PhpBB3.php
+++ b/src/PhpBB3.php
@@ -178,7 +178,7 @@ class PhpBB3 {
$attachment_data = array();
foreach ($attachments as $a) {
- $attachment_data[] = addAttachment(
+ $attachment_data[] = $this->addAttachment(
$userId, $a['filename'], $a['comment'], $a['mimetype'], $a['data']
);
}