Browse Source

spaces after if

eric 10 years ago
parent
commit
8affdb37a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/course_description/edit.php

+ 2 - 2
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"');
 
 // Set some default values
-if(!empty($description_title)) {
+if (!empty($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['description_type'] = $description_type;