1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Ottimizzazioni per php8.3

This commit is contained in:
pek5892
2024-05-23 11:36:25 +02:00
parent 8907734985
commit 95f20080f2
201 changed files with 556 additions and 649 deletions

View File

@@ -65,7 +65,7 @@ if (!empty($list)) {
}
echo '
<button type="button" class="btn btn-warning" '.((!extension_loaded('openssl') and substr(strtolower($element), -4) == '.p7m') ? 'disabled' : '').' onclick="import_fe(this, \''.$name.'\')">
<button type="button" class="btn btn-warning" '.((!extension_loaded('openssl') and str_ends_with(strtolower((string) $element), '.p7m')) ? 'disabled' : '').' onclick="import_fe(this, \''.$name.'\')">
<i class="fa fa-cloud-download"></i> '.tr('Importa').'
</button>
</td>