Fix TinyMCE doesn't work when DEBUGNOALYSS > 1

This commit is contained in:
sparkyx 2025-10-18 16:03:47 +02:00
parent 98d463454b
commit 351d5b2a44
3 changed files with 10 additions and 7 deletions

View file

@ -62,8 +62,7 @@ $http=new HttpInput();
IDate::set_firstDate($g_user->get_first_week_day());
ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));
/*
* check that the database is not empty
@ -85,6 +84,10 @@ if ($g_user->get_access_mode()=='MOBILE') { require NOALYSS_HOME."/mobile.php";
$style_user=$http->post("style_user","string",$_SESSION[SESSION_KEY.'g_theme']);
html_page_start($style_user);
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));
if ( DEBUGNOALYSS > 1 ) {
/**
* Debug Design