Browse Source

Merge pull request #1088 from jloguercio/fixCustomLogo

Minor fix customLogo variable uninitialized
José Loguercio 9 years ago
parent
commit
1437f1f872
1 changed files with 1 additions and 1 deletions
  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 = '';
     $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.';
-
+    $customLogo = '';
     $siteName = api_get_setting('siteName');
     $attributes = array(
         'title' => $siteName,