From 0e95eb5121b2f4be63591705c367a0de10046133 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 22 Dec 2018 09:01:20 +0100 Subject: feature: linkto calc during render --- app/class/art2.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/class/art2.php') diff --git a/app/class/art2.php b/app/class/art2.php index 8bf2729..6f2d4d8 100644 --- a/app/class/art2.php +++ b/app/class/art2.php @@ -344,6 +344,8 @@ class Art2 $linkto = $this->linkto; } elseif ($option == 'sort') { return count($this->linkto); + } elseif ($option == 'string') { + return implode(', ', $this->linkto); } return $linkto; -- cgit v1.2.3