aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-11 14:16:18 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-11 14:16:18 +0100
commitc599b349667630b328ab2560abccbb7e4fe47801 (patch)
treeff7acf6aa39b3d99396e3eb6b44a7e99ab704661 /app/class/Page.php
parentd9816ef4affa3d7096a2189e9b171d9d130a727e (diff)
downloadwcms-c599b349667630b328ab2560abccbb7e4fe47801.tar.gz
wcms-c599b349667630b328ab2560abccbb7e4fe47801.zip
multiedit : addauthor
Diffstat (limited to 'app/class/Page.php')
-rw-r--r--app/class/Page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Page.php b/app/class/Page.php
index 1daa240..41cf0ab 100644
--- a/app/class/Page.php
+++ b/app/class/Page.php
@@ -719,7 +719,7 @@ class Page
public function setauthors($authors)
{
if(is_array($authors)) {
- $this->authors = array_values(array_filter($authors));
+ $this->authors = array_unique(array_values(array_filter($authors)));
}
}