[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g_theme |
Date: |
Tue, 13 Jul 2021 05:02:03 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit af2cd88fe1e16d26949e907cbdea07a6c863e83b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Jul 8 17:24:05 2021 +0200
check that g_user exists and not the g_theme
---
html/do.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/html/do.php b/html/do.php
index b75a754..f2775ee 100644
--- a/html/do.php
+++ b/html/do.php
@@ -34,6 +34,7 @@ require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
$http=new HttpInput();
+
mb_internal_encoding("UTF-8");
// if gDossier is not set redirect to form to choose a folder
if ( ! isset($_REQUEST['gDossier']))
@@ -41,7 +42,7 @@ if ( ! isset($_REQUEST['gDossier']))
redirect('user_login.php');
exit();
}
-if ( ! isset ($_SESSION[SESSION_KEY.'g_theme']))
+if ( ! isset ($_SESSION[SESSION_KEY.'g_user']))
{
echo "<h2>"._('Vous êtes déconnecté')."</h2>";
$backurl=$_SERVER['REQUEST_URI'];
- [Noalyss-commit] [noalyss] 22/46: Cosmetic, (continued)
- [Noalyss-commit] [noalyss] 22/46: Cosmetic, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 26/46: Typo menu, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 28/46: Task #0002015: Export CSV depuis ANCGL : ajout de colonnes, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 29/46: Use autoload, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 31/46: Module decrease font-size, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 32/46: Code Cleaning #0002022: Utilisation d'un autoloader, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 35/46: Update Translation, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 36/46: get the output with transform2pdf in case it fails, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 41/46: Cosmetic #0002033: Alignement totaux + Trésorerie -> Financier/banque, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 42/46: Typo , debug information, jQuery available, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g_theme,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 46/46: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 45/46: Cosmetic : unwanted char in operation detail, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 37/46: Manage_Table show header even if table empty, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 13/46: Forecast : protect against empty name, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 14/46: Bug simple report : FROM 00.0000 was computed from user preference instead of end period. Improve ergonomy, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 25/46: Cosmetic : appearance h2.info, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 30/46: fix bug, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 34/46: Typo , adapt unit-test, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 38/46: Remove Actif / Passif as card attribute, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 39/46: Acc_ledger : use $currency_rate instead of variable from extract, Dany De Bontridder, 2021/07/13