From de5daf5e0402058ac38d9499f49adea50c980b33 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 15 May 2020 15:09:09 +0000 Subject: [PATCH] fix #3645 --- inc/ws/Metier/class.ws.book.parametres.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index 8223d3c09..ecad11459 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -130,7 +130,7 @@ class wsBookParametres extends wsParametres $this->fields['friend'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('E-mail')); $this->fields['facebook'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Facebook')); $this->fields['twitter'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Twitter')); - $this->fields['whatsapp'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('WhatsApp')); + $this->fields['whatsapp'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('WhatsApp')); $this->fields['linkedin'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('LinkedIn')); $this->fields['googleplus'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Google +')); $this->fields['viadeo'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Viadeo')); @@ -656,7 +656,6 @@ class wsBookParametres extends wsParametres $this->forms['scorm'] = array('label' => __('SCORM'), 'fieldsnames' => array('scorm_enable', 'scorm_version', 'scorm_id', 'scorm_org', 'scorm_title', 'scorm_variables', '|', 'scorm_complete_on_exit', 'scorm_complete_on_last_page', '|', 'scorm_quizdata', 'scorm_score', 'scorm_score_min', 'scorm_quiz_as_questionnaire', '|', 'scorm_force_attempts')); - $this->fields['ongletsXML'] = array('type' => 'textarea', 'default' => '', 'editable' => true, 'label' => __('XML de configuration des onglets'), 'grade' => 5); $this->fields['ongletsSWF'] = array('type' => 'freefile', 'default' => '', 'editable' => true, 'label' => __('SWF pour onglets personnalisés'), 'grade' => 3, 'fileFilter' => $swfFilter); -- 2.39.5