Minor - Format code

pull/3420/head
Angel Fernando Quiroz Campos 5 years ago
parent c623b960be
commit 23d8c3bce8
  1. 2
      main/course_home/last_course.php
  2. 8
      src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

@ -20,7 +20,7 @@ $sql = "SELECT c_id, session_id
$result = Database::query($sql);
if (Database::num_rows($result )) {
if (Database::num_rows($result)) {
$result = Database::fetch_array($result, 'ASSOC');
$courseId = (int) $result['c_id'];
$sessionId = (int) $result['session_id'];

@ -167,8 +167,12 @@ class ChamiloApi
*
* @return string
*/
public static function getPlatformLogo($theme = '', $imageAttributes = [], $getSysPath = false, $forcedGetter = false)
{
public static function getPlatformLogo(
$theme = '',
$imageAttributes = [],
$getSysPath = false,
$forcedGetter = false
) {
$logoPath = self::getPlatformLogoPath($theme, $getSysPath, $forcedGetter);
$institution = api_get_setting('Institution');
$institutionUrl = api_get_setting('InstitutionUrl');

Loading…
Cancel
Save