This commit is contained in:
paoloar77
2024-06-13 09:25:54 +02:00
parent 12202b8241
commit 7d6578e210
2 changed files with 17 additions and 4 deletions

View File

@@ -1860,8 +1860,19 @@ Route::get('/autori_test', function () {
}
});
function getvalstr($mystr, $value) {
return " " . $mystr . ": " . $value;
function getvalstr($mystr, $value, $separato = false) {
$my = '';
if ($mystr) {
$my = " " . $mystr . ": " . $value;
} else {
$my = $value;
}
if ($separato) {
$my = '[' + $my + '] ';
}
return $my;
}