diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 03:33:22 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 03:33:22 +0100 |
commit | 5aa781242e42c95c6f2e04a30510d853a89fa944 (patch) | |
tree | e1096011f9473a380240c40a01b610e37097e88f /app/class/Page.php | |
parent | cc73b11de5d9185825e058d1914d65bb8703077d (diff) | |
download | wcms-5aa781242e42c95c6f2e04a30510d853a89fa944.tar.gz wcms-5aa781242e42c95c6f2e04a30510d853a89fa944.zip |
new feature : authors column
Diffstat (limited to 'app/class/Page.php')
-rw-r--r-- | app/class/Page.php | 2 |
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); } } |