noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 12/29: Fix bug : $g_parameter non initialisé


From: dwm
Subject: [Noalyss-commit] [noalyss] 12/29: Fix bug : $g_parameter non initialisé pour plugin
Date: Sat, 6 Jan 2024 05:59:14 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 7a84161b5c6fa3001dcc3dfcd706cdf76ffc5a9f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Dec 17 12:07:02 2023 +0100

    Fix bug : $g_parameter non initialisé pour plugin
---
 html/extension.raw.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/html/extension.raw.php b/html/extension.raw.php
index 2b639dc90..af1cbae03 100644
--- a/html/extension.raw.php
+++ b/html/extension.raw.php
@@ -36,11 +36,16 @@ require_once NOALYSS_INCLUDE . 
'/class/noalyss_user.class.php';
 MaintenanceMode("block.html");
 
 global $g_user,$cn,$g_parameter;
+$cn=Dossier::connect();
+$g_parameter=new Noalyss_Parameter_Folder($cn);
+
 $http=new HttpInput();
 $cn=Dossier::connect();
 $g_user=new Noalyss_user($cn);
 $g_user->check();
 $only_plugin=$g_user->check_dossier(dossier::id());
+
+
 set_language();
 $ext=new Extension($cn);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]