diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 8b441a91c79..8111b10846d 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1555,7 +1555,7 @@ class Form $sql .= " WHERE active = 1"; dol_syslog("Form::select_propal_statut sql=".$sql); - $resql=$this->db->query($sql); + $resql=$this->db->query($sql); if ($resql) { print ''; @@ -1695,15 +1695,15 @@ class Form /** - * \brief Show a confirmation HTML form or AJAX popup - * \param page page Url of page to call if confirmation is OK - * \param title title - * \param question question - * \param action action - * \param formquestion an array with forms complementary inputs - * \param selectedchoice "" or "no" or "yes" - * \param useajax 0=No, 1=Yes, 2=Yes but submit page with &confirm=no if choice is No - * \param string 'ajax' if a confirm ajax popup is shown, 'html' if it's an html form + * Show a confirmation HTML form or AJAX popup + * @param page Url of page to call if confirmation is OK + * @param title title + * @param question question + * @param action action + * @param formquestion an array with forms complementary inputs + * @param selectedchoice "" or "no" or "yes" + * @param useajax 0=No, 1=Yes, 2=Yes but submit page with &confirm=no if choice is No + * @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) { @@ -1773,7 +1773,7 @@ class Form // New code using jQuery only print ''; - print img_help('','').' '.$more.$question; + print img_help('','').' '.$more.$question; print ''."\n"; print '