Fixed fatal error when deleting a poll
This commit is contained in:
parent
7fccefd620
commit
45da8eb446
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user