mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-22 22:37:37 +01:00
Fix vari
This commit is contained in:
parent
c31e849622
commit
1ad4e04e59
@ -309,6 +309,7 @@ switch (post('op')) {
|
||||
unset($rs[$i]['id']);
|
||||
unset($rs[$i]['created_at']);
|
||||
unset($rs[$i]['updated_at']);
|
||||
unset($rs[$i]['qta_evasa']);
|
||||
$rs[$i]['idcontratto'] = $new_idcontratto;
|
||||
|
||||
$dbo->insert('co_righe_contratti', $rs);
|
||||
|
@ -84,7 +84,6 @@ switch (post('op')) {
|
||||
}
|
||||
|
||||
flash()->info(tr('Preventivo duplicato correttamente!'));
|
||||
|
||||
break;
|
||||
|
||||
case 'addintervento':
|
||||
|
@ -607,7 +607,13 @@ class Validator
|
||||
|
||||
// Formattazione testo
|
||||
elseif ($info['type'] == 'string' || $info['type'] == 'normalizedString') {
|
||||
$output = htmlentities(html_entity_decode($output));
|
||||
$output = replace(html_entity_decode($output), [
|
||||
'&' => '&',
|
||||
'"' => '"',
|
||||
"'" => ''',
|
||||
'<' => '<',
|
||||
'>' => '>',
|
||||
]);
|
||||
}
|
||||
|
||||
// Riduzione delle dimensioni
|
||||
|
@ -38,6 +38,7 @@ abstract class CachedManager extends Manager
|
||||
$cache = database()->selectOne('zz_hook_cache', '*', ['hook_id' => $hook->id], ['id' => 'DESC']);
|
||||
|
||||
// Interpretazione della cache
|
||||
if (isset($cache['results']))
|
||||
$cache['results'] = json_decode($cache['results'], true);
|
||||
|
||||
self::$cache = $cache;
|
||||
|
Loading…
x
Reference in New Issue
Block a user