diff --git a/actions.php b/actions.php index 1927ec76a..1f2a67eae 100755 --- a/actions.php +++ b/actions.php @@ -348,7 +348,7 @@ if ($structure->permission == 'rw') { $query = 'SELECT `id`, `html_name` AS `name` FROM `zz_fields` WHERE '.$custom_where; $customs = $dbo->fetchArray($query); - if (!starts_with(post('op'), 'delete')) { + if (!string_starts_with(post('op'), 'delete')) { $values = []; foreach ($customs as $custom) { if (post($custom['name']) !== null) { @@ -357,7 +357,7 @@ if ($structure->permission == 'rw') { } // Inserimento iniziale - if (starts_with(post('op'), 'add')) { + if (string_starts_with(post('op'), 'add')) { // Informazioni di log Filter::set('get', 'id_record', $id_record); @@ -371,7 +371,7 @@ if ($structure->permission == 'rw') { } // Aggiornamento - elseif (starts_with(post('op'), 'update')) { + elseif (string_starts_with(post('op'), 'update')) { $query = 'SELECT `zz_field_record`.`id_field` FROM `zz_field_record` JOIN `zz_fields` ON `zz_fields`.`id` = `zz_field_record`.`id_field` WHERE id_record = '.prepare($id_record).' AND '.$custom_where; $customs_present = $dbo->fetchArray($query); $customs_present = array_column($customs_present, 'id_field'); diff --git a/assets/src/css/style.css b/assets/src/css/style.css index 57bf57765..3cd6e2766 100755 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -1028,7 +1028,7 @@ div.tip { } .control-sidebar-toggle { - display: none !important; + /*display: none !important;*/ } } diff --git a/composer.json b/composer.json index 8aab949e8..ceedcba65 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "homepage": "https://www.openstamanager.com/", "authors": [{ - "name": "DevCode s.n.c", + "name": "DevCode s.n.c.", "email": "info@openstamanager.com" }], "type": "project", diff --git a/controller.php b/controller.php index 821068453..f546515bf 100755 --- a/controller.php +++ b/controller.php @@ -96,7 +96,7 @@ echo ' redirectOperation($id_module, isset($id_parent) ? $id_parent : $id_record); // Interfaccia per la modifica dell'ordine e della visibilità delle colonne (Amministratore) -if ($user->is_admin && str_contains($module['option'], '|select|')) { +if ($user->is_admin && string_contains($module['option'], '|select|')) { echo '