aboutsummaryrefslogtreecommitdiff
path: root/app/class/art2.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/art2.php')
-rw-r--r--app/class/art2.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/class/art2.php b/app/class/art2.php
index a43d35e..4561773 100644
--- a/app/class/art2.php
+++ b/app/class/art2.php
@@ -431,7 +431,11 @@ class Art2
public function authors($type = 'array')
{
- return $this->authors;
+ if($type == 'string') {
+ return implode(', ', $this->authors);
+ } elseif ($type == 'array') {
+ return $this->authors;
+ }
}
public function invites($type = 'array')