[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/12: Fix typo due to code cleaning
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/12: Fix typo due to code cleaning |
Date: |
Wed, 16 Nov 2022 14:39:18 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit b188392618f1d8f9360a8d34a591650c052bf233
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Nov 9 19:37:59 2022 +0100
Fix typo due to code cleaning
---
html/mobile.php | 2 +-
include/action.common.inc.php | 2 +-
include/class/mobile.class.php | 2 +-
include/template/mobile-display_menu.php | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/mobile.php b/html/mobile.php
index 6494092b8..5c19d8ef3 100644
--- a/html/mobile.php
+++ b/html/mobile.php
@@ -28,7 +28,7 @@ require_once '../include/constant.php';
global $g_user;
$cn=new Database();
-$g_user=new \User($cn);
+$g_user=new \Noalyss_User($cn);
$g_user->check();
if ( !defined ("ALLOWED") ) { define ('ALLOWED',true); }
diff --git a/include/action.common.inc.php b/include/action.common.inc.php
index 00c24a585..ff793c0b0 100644
--- a/include/action.common.inc.php
+++ b/include/action.common.inc.php
@@ -39,7 +39,7 @@ if (isset($_REQUEST['f_id']))
if (isset($_REQUEST['sb']))
$supl_hidden.=HtmlInput::hidden('sb', $http->request("sb"));
$supl_hidden.=HtmlInput::hidden('ac', $http->request("ac"));
-
+\Noalyss\Dbg::echo_file(__FILE__);
/**
* if no group available , then stop
*/
diff --git a/include/class/mobile.class.php b/include/class/mobile.class.php
index 5d04b542c..30a6040b1 100644
--- a/include/class/mobile.class.php
+++ b/include/class/mobile.class.php
@@ -153,7 +153,7 @@ class Mobile
echo __CLASS__."→".__FUNCTION__;
}
$cn=Dossier::connect();
- $user=new Noalyss_user($cn);
+ $user=new \Noalyss_user($cn);
$aModule=$cn->get_array("select *
from profile_mobile pm
diff --git a/include/template/mobile-display_menu.php
b/include/template/mobile-display_menu.php
index b586bc70f..55b9f2011 100644
--- a/include/template/mobile-display_menu.php
+++ b/include/template/mobile-display_menu.php
@@ -25,7 +25,7 @@ if (!defined('ALLOWED'))
* @file
* @brief show the mobile menu
*/
-\Noalyss\Dbg::dbgecho_file(__FILE__);
+\Noalyss\Dbg::echo_file(__FILE__);
?>
<img src="<?=NOALYSS_URL?>/image/logo9000.png" width="100%"
style="position:absolute;top:0px;left:0px;z-index:-1;opacity: 11%">
<div id="mobile_module" >
- [Noalyss-commit] [noalyss] branch master updated (7749f97eb -> 1a1bcd567), Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 02/12: code cleaning : rename search_poste to search_accounting, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 03/12: TVA javascript : add callback function, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 08/12: Set current user in PostGresql session (config) so it can be directly used directly by triggers and pgplsql to track user's changes, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 09/12: Fix typo due to code cleaning,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/12: Add function __toString, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 04/12: INUM , IText and ITVAPopup add the attribute (for javascript), Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 01/12: WYSIWYG Editor integration and improve of waiting_box, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 05/12: set require to falser and add function __toString, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 10/12: useless file, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 11/12: Clean code : dead code, improve debug, comments, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 12/12: Save the current user in a PostgreSQL session variable noalyss.user_login, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 07/12: Tag : add color when selected, Dany De Bontridder, 2022/11/16