spaces after if

1.10.x
eric 11 years ago
parent 996d17903b
commit 8affdb37a8
  1. 4
      main/course_description/edit.php

@ -67,10 +67,10 @@ if (api_get_setting('wcag_anysurfer_public_pages')=='true') {
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"'); $form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
// Set some default values // Set some default values
if(!empty($description_title)) { if (!empty($description_title)) {
$default['title'] = Security::remove_XSS($description_title); $default['title'] = Security::remove_XSS($description_title);
} }
if(!empty($description_content)) { if (!empty($description_content)) {
$default['contentDescription'] = Security::remove_XSS($description_content,COURSEMANAGERLOWSECURITY); $default['contentDescription'] = Security::remove_XSS($description_content,COURSEMANAGERLOWSECURITY);
} }
$default['description_type'] = $description_type; $default['description_type'] = $description_type;

Loading…
Cancel
Save