mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 01:58:09 +01:00
Debug v23
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user