2
0
forked from Wavyzz/dolibarr

Fix custom reports for external modules

This commit is contained in:
Laurent Destailleur
2024-02-15 18:40:04 +01:00
parent 75cdfcbf52
commit a549f095b7
2 changed files with 11 additions and 6 deletions

View File

@@ -625,7 +625,7 @@ function GETPOSTISARRAY($paramname, $method = 0)
* 'alphanohtml'=check there is no html content and no " and no ../
* 'aZ'=check it's a-z only
* 'aZ09'=check it's simple alpha string (recommended for keys)
* 'aZ09arobase'=check it's a string for an element type
* 'aZ09arobase'=check it's a string for an element type ('myobject@mymodule')
* 'aZ09comma'=check it's a string for a sortfield or sortorder
* 'san_alpha'=Use filter_var with FILTER_SANITIZE_STRING (do not use this for free text string)
* 'nohtml'=check there is no html content