Debug v23

This commit is contained in:
Laurent Destailleur
2025-12-06 03:27:49 +01:00
parent 05c52317b2
commit fcd6b4ce6b
13 changed files with 36 additions and 38 deletions

View File

@@ -11608,7 +11608,7 @@ function dol_getIdFromCode($db, $key, $tablename, $fieldkey = 'code', $fieldid =
* Check if a variable with name $var start with $regextext.
* Can be used to forge dol_eval() conditions.
*
* @param string $var Variable
* @param string $var Variable name ('mainmenu' or 'leftmenu', ...)
* @param string $regextext Text that must be a valid regex string
* @param int<0,1> $matchrule 1=Test if start with, 0=Test if equal
* @return boolean|string True or False, text if bad usage.