mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Terminata gestione xml con Terzo intermediario
This commit is contained in:
@ -410,6 +410,6 @@ function operationLog($operation, array $ids = [], array $options = [])
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function clean($string, $permitted) {
|
||||
function clean($string, $permitted = '') {
|
||||
return preg_replace('/[^A-Za-z0-9'.$permitted.']/', '', $string); // Removes special chars.
|
||||
}
|
||||
|
Reference in New Issue
Block a user