mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 17:07:01 +01:00
Update actions.php
This commit is contained in:
parent
16b84a6372
commit
2860ea2f15
@ -35,8 +35,8 @@ switch (filter('op')) {
|
||||
|
||||
if (isset($descrizione)) {
|
||||
if ($dbo->fetchNum('SELECT * FROM `dt_causalet` WHERE `descrizione`='.prepare($descrizione)) == 0) {
|
||||
$dbo->insert('dt_porto', [
|
||||
'dt_causalet' => $descrizione,
|
||||
$dbo->insert('dt_causalet', [
|
||||
'descrizione' => $descrizione,
|
||||
]);
|
||||
$id_record = $dbo->lastInsertedID();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user