From add55e480e8248e4396e10ba7650d9d419d0922e Mon Sep 17 00:00:00 2001
From: Xebax <xebax@wanadoo.fr>
Date: Wed, 1 Oct 2014 22:00:45 +0200
Subject: [PATCH] Fix bug #1610: Civility is not displayed.

---
 htdocs/adherents/class/adherent.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php
index bd43ed134af..a057e7cba93 100644
--- a/htdocs/adherents/class/adherent.class.php
+++ b/htdocs/adherents/class/adherent.class.php
@@ -1090,7 +1090,7 @@ class Adherent extends CommonObject
                 $this->ref				= $obj->rowid;
                 $this->id				= $obj->rowid;
                 $this->ref_ext			= $obj->ref_ext;
-                $this->civility_id		= $obj->civility;
+                $this->civility_id		= $obj->civility_id;
                 $this->firstname		= $obj->firstname;
                 $this->lastname			= $obj->lastname;
                 $this->login			= $obj->login;
-- 
GitLab