summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 21:39:28 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 21:39:28 +0000
commit7300814e51d9eae1c41ea08222f8512022eebea1 (patch)
tree3c473021ca02745e20bdf6f74f001c4695ad4c92
parent82de2c9e72443f13991952371df7f98287a18500 (diff)
addAttachment() is a method, not a function.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6839 67b53d14-2c14-4ace-a08f-0dab2b34000c
-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']
);
}