Skip to content

Commit

Permalink
correctif : calcul du style appliqué
Browse files Browse the repository at this point in the history
  • Loading branch information
ynaessens committed Feb 2, 2019
1 parent e7a13f4 commit 9f75610
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/functions.inc.php
Expand Up @@ -2,9 +2,9 @@
/**
* include/functions.inc.php
* fichier Bibliothèque de fonctions de GRR
* Dernière modification : $Date: 2018-12-18 23:10$
* Dernière modification : $Date: 2019-02-02 12:10$
* @author JeromeB & Laurent Delineau & Marc-Henri PAMISEUX & Yan Naessens
* @copyright Copyright 2003-2018 Team DEVOME - JeromeB
* @copyright Copyright 2003-2019 Team DEVOME - JeromeB
* @link http://www.gnu.org/licenses/licenses.html
*
* This file is part of GRR.
Expand Down Expand Up @@ -890,7 +890,7 @@ function begin_page($title, $page = "with_session")
{
if (($page == "with_session")&&(isset($_SESSION['default_style'])))
$sheetcss = 'themes/'.$_SESSION['default_style'].'/css';
elseif (Settings::get("default_css"))
elseif ((class_exists('Settings'))&&(Settings::get("default_css") != NULL))
$sheetcss = 'themes/'.Settings::get("default_css").'/css';
else
$sheetcss = 'themes/default/css';
Expand Down

0 comments on commit 9f75610

Please sign in to comment.