|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
|
|
|
|
|
class form extends common {
|
|
|
|
|
|
|
|
|
|
const VERSION = '4.6';
|
|
|
|
|
const VERSION = '4.7';
|
|
|
|
|
const REALNAME = 'Formulaire';
|
|
|
|
|
const DELETE = true;
|
|
|
|
|
const UPDATE = '0.0';
|
|
|
|
@ -344,7 +344,7 @@ class form extends common {
|
|
|
|
|
include('./module/form/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_form.php');
|
|
|
|
|
// Soumission du formulaire
|
|
|
|
|
if($this->isPost()) {
|
|
|
|
|
$code = strtoupper($_REQUEST['codeCaptcha']);
|
|
|
|
|
$code = isset($_REQUEST['codeCaptcha'] ) ? strtoupper($_REQUEST['codeCaptcha']) : '';
|
|
|
|
|
// Captcha demandée
|
|
|
|
|
if( $this->getData(['module', $this->getUrl(0), 'config', 'captcha'])){
|
|
|
|
|
// option de détection de robot en premier cochée et $_SESSION['humanBot']==='human'
|
|
|
|
|