From 78cd38639f95cab063ef4b4e60c1229a9c79b559 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 1 Sep 2010 07:55:26 +0000 Subject: [PATCH] Works on canvas integration in third party module --- htdocs/core/class/html.form.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ca3e98937e4..de370470497 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1800,9 +1800,7 @@ class Form * @return string 'ajax' if a confirm ajax popup is shown, 'html' if it's an html form */ function form_confirm($page, $title, $question, $action, $formquestion='', $selectedchoice="", $useajax=0) - { - global $langs,$conf; - + { print $this->formconfirm($page, $title, $question, $action, $formquestion, $selectedchoice, $useajax); }