From c1d18bd75bb99089679be83385a58ce66bc7242c Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@afi-sa.fr>
Date: Wed, 26 Mar 2014 17:42:36 +0100
Subject: [PATCH] hotline#12555 fonctions auteurs

Authors are unique only based on name
---
 library/Class/Notice/Author.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/Class/Notice/Author.php b/library/Class/Notice/Author.php
index e53ebb71884..8ff03d561ba 100644
--- a/library/Class/Notice/Author.php
+++ b/library/Class/Notice/Author.php
@@ -46,7 +46,8 @@ class Class_Notice_Author {
 	}
 
 	public function __toString() {
-		return 'author: '.$this->_name.' ['.$this->_responsibility.']';
+		// note: used for array_unique (see array_unique doc and hell), so be careful when changing $this
+		return 'author: '.$this->_name;
 	}
 }
 ?>
\ No newline at end of file
-- 
GitLab