From c599b349667630b328ab2560abccbb7e4fe47801 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 11 Jan 2020 14:16:18 +0100 Subject: multiedit : addauthor --- app/class/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/class/Page.php') 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))); } } -- cgit v1.2.3