Debug v20 - fix cond to show dict, several fix in public ticket gui

This commit is contained in:
Laurent Destailleur
2024-07-28 14:54:06 +02:00
parent d0216a4922
commit 75d1fbc49f
14 changed files with 88 additions and 61 deletions

View File

@@ -1343,7 +1343,7 @@ function unActivateModule($value, $requiredby = 1)
*/
function complete_dictionary_with_modules(&$taborder, &$tabname, &$tablib, &$tabsql, &$tabsqlsort, &$tabfield, &$tabfieldvalue, &$tabfieldinsert, &$tabrowid, &$tabcond, &$tabhelp, &$tabcomplete)
{
global $db, $modules, $conf, $langs;
global $db, $langs;
dol_syslog("complete_dictionary_with_modules Search external modules to complete the list of dictionary tables", LOG_DEBUG, 1);
@@ -1461,7 +1461,7 @@ function complete_dictionary_with_modules(&$taborder, &$tabname, &$tablib, &$tab
$tmptablename = preg_replace('/'.MAIN_DB_PREFIX.'/', '', $tabnamerelwithkey[$key]);
$nbtabcond++;
$tabcond[] = $val;
$tabcomplete[$tmptablename]['rowid'] = $val;
$tabcomplete[$tmptablename]['cond'] = $val;
}
if (!empty($objMod->dictionaries['tabhelp'])) {
foreach ($objMod->dictionaries['tabhelp'] as $key => $val) {