From dafe05d15d4a59eabd0fa920e5e5806f2f20122f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Mon, 6 Jan 2014 05:09:17 +0100 Subject: [PATCH] Fixed a problem with open survey creation trigger --- htdocs/opensurvey/class/opensurveysondage.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/opensurvey/class/opensurveysondage.class.php b/htdocs/opensurvey/class/opensurveysondage.class.php index a4f81ced81c..862381d2322 100644 --- a/htdocs/opensurvey/class/opensurveysondage.class.php +++ b/htdocs/opensurvey/class/opensurveysondage.class.php @@ -140,6 +140,8 @@ class Opensurveysondage extends CommonObject { if (! $notrigger) { + global $langs, $conf; + //// Call triggers include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php'; $interface=new Interfaces($this->db);