Browse Source

Minor - flint fixes

Julio 6 years ago
parent
commit
221fe6511f

+ 1 - 1
main/exercise/export/exercise_import.inc.php

@@ -337,7 +337,7 @@ function qti_parse_file($exercisePath, $file, $questionFile)
 }
 
 /**
- * Function used to parser a QTI2 xml file
+ * Function used to parser a QTI2 xml file.
  *
  * @param string $xmlData
  */

+ 1 - 1
main/inc/ajax/admin.ajax.php

@@ -238,7 +238,7 @@ function check_system_version()
 }
 
 /**
- * Display the latest news from the Chamilo Association for admins
+ * Display the latest news from the Chamilo Association for admins.
  *
  * @throws \GuzzleHttp\Exception\GuzzleException
  *

+ 1 - 1
main/inc/lib/myspace.lib.php

@@ -2635,7 +2635,7 @@ class MySpace
                     Security::remove_XSS($userInfo['complete_user_name'])."</a> - ".$addedto.'<br />';
             }
         }
-        Display::addFlash(Display::return_message($registered_users, 'normal',false));
+        Display::addFlash(Display::return_message($registered_users, 'normal', false));
         header('Location: course.php?id_session='.$id_session);
         exit;
     }

+ 1 - 0
main/inc/lib/tracking.lib.php

@@ -1630,6 +1630,7 @@ class Tracking
         if (!empty($sessionId)) {
             $extraFieldValue = new ExtraFieldValue('session');
             $value = $extraFieldValue->get_values_by_handler_and_field_variable($sessionId, 'new_tracking_system');
+
             if ($value && isset($value['value']) && $value['value'] == 1) {
                 return true;
             }

+ 2 - 2
main/lp/scorm.class.php

@@ -227,7 +227,7 @@ class scorm extends learnpath
                     }
                 }
             }
-        // End parsing using PHP5 DOMXML methods.
+            // End parsing using PHP5 DOMXML methods.
         } else {
             if ($this->debug > 1) {
                 error_log('New LP - Could not open/read file '.$file);
@@ -592,7 +592,7 @@ class scorm extends learnpath
     /**
      * Imports a zip file into the Chamilo structure.
      *
-     * @param string    $zipFileInfo Zip file info as given by $_FILES['userFile']
+     * @param string    $zipFileInfo       Zip file info as given by $_FILES['userFile']
      * @param string    $currentDir
      * @param array     $courseInfo
      * @param bool      $updateDirContents