diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-11 14:16:18 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-11 14:16:18 +0100 |
commit | c599b349667630b328ab2560abccbb7e4fe47801 (patch) | |
tree | ff7acf6aa39b3d99396e3eb6b44a7e99ab704661 /app/class/Page.php | |
parent | d9816ef4affa3d7096a2189e9b171d9d130a727e (diff) | |
download | wcms-c599b349667630b328ab2560abccbb7e4fe47801.tar.gz wcms-c599b349667630b328ab2560abccbb7e4fe47801.zip |
multiedit : addauthor
Diffstat (limited to 'app/class/Page.php')
-rw-r--r-- | app/class/Page.php | 2 |
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))); } } |