Fix messaggi infos, warnings, errors non visibili in controller

This commit is contained in:
Luca 2018-03-22 23:21:22 +01:00
parent da21993917
commit cfc6ed976a
2 changed files with 6 additions and 4 deletions

View File

@ -55,6 +55,8 @@ echo '
</body>
</html>';
unset($_SESSION['infos']);
unset($_SESSION['errors']);
unset($_SESSION['warnings']);
if ($id_record OR basename($_SERVER["PHP_SELF"])=='controller.php'){
unset($_SESSION['infos']);
unset($_SESSION['errors']);
unset($_SESSION['warnings']);
}

View File

@ -18,7 +18,7 @@ include_once __DIR__.'/../../core.php';
</div>
<div class="col-md-6">
{[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "value": "", "icon-after": "<i class=\"fa fa-usd\"></i>" ]}
{[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "value": "", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
</div>
</div>