diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-22 09:01:20 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-22 09:01:20 +0100 |
commit | 0e95eb5121b2f4be63591705c367a0de10046133 (patch) | |
tree | fd389a73fffce6f1b3566bba7c07d02f07c196f7 /app/class/art2.php | |
parent | 7f94fccda33383f3a7be364cf0c316e7ed2c61bb (diff) | |
download | wcms-0e95eb5121b2f4be63591705c367a0de10046133.tar.gz wcms-0e95eb5121b2f4be63591705c367a0de10046133.zip |
feature: linkto calc during render
Diffstat (limited to 'app/class/art2.php')
-rw-r--r-- | app/class/art2.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |