aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-29 03:33:22 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-29 03:33:22 +0100
commit5aa781242e42c95c6f2e04a30510d853a89fa944 (patch)
treee1096011f9473a380240c40a01b610e37097e88f /app/class/Page.php
parentcc73b11de5d9185825e058d1914d65bb8703077d (diff)
downloadwcms-5aa781242e42c95c6f2e04a30510d853a89fa944.tar.gz
wcms-5aa781242e42c95c6f2e04a30510d853a89fa944.zip
new feature : authors column
Diffstat (limited to 'app/class/Page.php')
-rw-r--r--app/class/Page.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/Page.php b/app/class/Page.php
index 82e61c1..7475b6b 100644
--- a/app/class/Page.php
+++ b/app/class/Page.php
@@ -399,6 +399,8 @@ class Page extends Dbitem
return implode(', ', $this->authors);
} elseif ($type == 'array') {
return $this->authors;
+ } elseif ($type == 'sort') {
+ return count($this->authors);
}
}