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