From 45da8eb44640756650b5e8590dfd66ec8c1f9f19 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 04:50:37 +0100
Subject: [PATCH] Fixed fatal error when deleting a poll

---
 htdocs/opensurvey/list.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php
index 90071466dd4..b0502707669 100644
--- a/htdocs/opensurvey/list.php
+++ b/htdocs/opensurvey/list.php
@@ -45,6 +45,8 @@ $offset = $limit * $page;
 
 if ($action == 'delete_confirm')
 {
+	require_once DOL_DOCUMENT_ROOT.'/opensurvey/class/opensurveysondage.class.php';
+	
 	$db->begin();
 
 	$object=new Opensurveysondage($db);
-- 
GitLab