From 7300814e51d9eae1c41ea08222f8512022eebea1 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 21:39:28 +0000 Subject: 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 --- src/PhpBB3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ); } -- cgit v1.2.3