Explorar el Código

Merge pull request #1088 from jloguercio/fixCustomLogo

Minor fix customLogo variable uninitialized
José Loguercio hace 9 años
padre
commit
1437f1f872
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main/inc/lib/banner.lib.php

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

@@ -153,7 +153,7 @@ function return_logo($theme)
     $html = '';
     $html = '';
     $logoBase = api_get_path(SYS_CSS_PATH).'themes/'.$theme.'/images/header-logo.';
     $logoBase = api_get_path(SYS_CSS_PATH).'themes/'.$theme.'/images/header-logo.';
     $customLogoBase = api_get_path(SYS_PUBLIC_PATH).'css/themes/'.$theme.'/images/header-logo-custom.';
     $customLogoBase = api_get_path(SYS_PUBLIC_PATH).'css/themes/'.$theme.'/images/header-logo-custom.';
-
+    $customLogo = '';
     $siteName = api_get_setting('siteName');
     $siteName = api_get_setting('siteName');
     $attributes = array(
     $attributes = array(
         'title' => $siteName,
         'title' => $siteName,