Fixed fatal error when deleting a poll

This commit is contained in:
Marcos García de La Fuente 2014-01-05 04:50:37 +01:00
parent 7fccefd620
commit 45da8eb446

View File

@ -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);