1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-07 20:57:42 +01:00

Fix minori

This commit is contained in:
Pek5892 2024-01-10 15:08:26 +01:00
parent 322e7483f5
commit f380044c60
3 changed files with 18 additions and 23 deletions

View File

@ -50,7 +50,6 @@ if ($user['gruppo'] == 'Tecnici' && !empty($user['idanagrafica'])) {
$id_cliente = $user['idanagrafica'];
}
// Se è indicata un'anagrafica relativa, si carica il tipo di intervento di default impostato
if (!empty($id_anagrafica)) {
$anagrafica = $dbo->fetchOne('SELECT idtipointervento_default, idzona FROM an_anagrafiche WHERE idanagrafica='.prepare($id_anagrafica));

View File

@ -94,7 +94,6 @@ class XML
try {
if (function_exists('exec')) {
exec('openssl smime -verify -noverify -in "'.$file.'" -inform DER -out "'.$output_file.'"', $output, $cmd);
if (!file_exists($output_file)) {
@ -109,15 +108,12 @@ class XML
return false;
}
}
}
if ($cmd === 0) {
return empty($output[0]) ? tr('Nessuna informazione sulla versione del client PHP') : $output[0];
}
}
catch (Exception $e) {
} catch (Exception $e) {
return false;
}