From c86130e81313ac5554aaff6c58e43e7967e47628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?=
 <marcosgdf@gmail.com>
Date: Sun, 5 Jan 2014 08:03:50 +0100
Subject: [PATCH] Fixed navigation arrows in poll card

---
 htdocs/opensurvey/class/opensurveysondage.class.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/htdocs/opensurvey/class/opensurveysondage.class.php b/htdocs/opensurvey/class/opensurveysondage.class.php
index 92dfdd54685..e67591ffa61 100644
--- a/htdocs/opensurvey/class/opensurveysondage.class.php
+++ b/htdocs/opensurvey/class/opensurveysondage.class.php
@@ -202,6 +202,9 @@ class Opensurveysondage extends CommonObject
                 $obj = $this->db->fetch_object($resql);
 
 				$this->id_sondage = $obj->id_sondage;
+				//For compatibility
+				$this->ref = $this->id_sondage;
+				
 				$this->commentaires = $obj->commentaires;
 				$this->mail_admin = $obj->mail_admin;
 				$this->nom_admin = $obj->nom_admin;
-- 
GitLab